Skip to content

Commit

Permalink
New label to gradleCheckFlakyTestDetector
Browse files Browse the repository at this point in the history
Signed-off-by: Prudhvi Godithi <[email protected]>
  • Loading branch information
prudhvigodithi committed Jun 14, 2024
1 parent 31c876f commit 14364a4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ jacocoTestReport {
}
}

String version = '6.5.0'
String version = '6.5.1'

task updateVersion {
doLast {
Expand Down
2 changes: 1 addition & 1 deletion src/gradlecheck/FetchPostMergeFailedTestClass.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class FetchPostMergeFailedTestClass {
test_class_keyword_agg: [
terms: [
field: "test_class",
size: 500
size: 2
]
]
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
* compatible open source license.
*/

/** Library to detect Gradle Check flaky tests and create GitHub issue in OpenSearch repository.
@param Map args = [:] args A map of the following parameters
@param args.issueLabels <required> - GitHub labels that will be added to the issue created in OpenSearch repository.
*/

import gradlecheck.FetchPostMergeFailedTestClass
import gradlecheck.FetchPostMergeTestGitReference
import gradlecheck.FetchPostMergeFailedTestName
Expand Down Expand Up @@ -46,10 +51,10 @@ void call(Map args = [:]) {
def markdownTable = new CreateMarkDownTable(failedTest, testData, testNameAdditionalPullRequests).createMarkdownTable()
writeFile file: "${failedTest}.md", text: markdownTable
createGithubIssue(
repoUrl: "https://github.com/opensearch-project/OpenSearch",
repoUrl: "https://github.com/prudhvigodithi/OpenSearch",
issueTitle: "[AUTOCUT] Gradle Check Flaky Test Report for ${failedTest}",
issueBodyFile: "${failedTest}.md",
label: 'autocut,>test-failure',
label: args.issueLabels,
issueEdit: true
)
}
Expand Down

0 comments on commit 14364a4

Please sign in to comment.