Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#12048] Revert "Add config for e2e sql tests (#12762)" #12765

Merged
merged 1 commit into from
Feb 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 0 additions & 59 deletions .github/workflows/e2e-sql.yml

This file was deleted.

37 changes: 0 additions & 37 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -570,43 +570,6 @@ task e2eTests {
e2eTests.dependsOn "e2eTestTry${id}"
}

task e2eTestsSql {
description "Runs the E2E test suite and retries failed test up to ${numOfTestRetries} times."
group "Test"
}

(1..numOfTestRetries + 1).each { id ->
def isFirstTry = id == 1
def isLastRetry = id == numOfTestRetries + 1
def runUnstableTests = project.hasProperty('unstable')
def outputFileName = runUnstableTests ? "e2e-sql-unstable-test-try-" : "e2e-test-try-"

task "e2eSqlTestTry${id}"(type: Test) {
useTestNG()
options.suites isFirstTry
? (runUnstableTests ? "src/e2e/resources/testng-unstable-e2e-sql.xml" : "src/e2e/resources/testng-e2e-sql.xml")
: file("${buildDir}/reports/${outputFileName}${id - 1}/testng-failed.xml")
options.outputDirectory = file("${buildDir}/reports/${outputFileName}${id}")
options.useDefaultListeners = true
ignoreFailures = !isLastRetry
maxHeapSize = "1g"
reports.html.required = false
reports.junitXml.required = false
jvmArgs "-Xss2m", "-Dfile.encoding=UTF-8"
testLogging {
events "passed"
}
afterTest afterTestClosure
if (isFirstTry) {
afterSuite checkTestNgFailureClosure
}
onlyIf {
isFirstTry || file("${buildDir}/reports/${outputFileName}${id - 1}/testng-failed.xml").exists()
}
}
e2eTestsSql.dependsOn "e2eSqlTestTry${id}"
}

task axeTests {
description "Runs the full accessibility test suite and retries failed tests once."
group "Test"
Expand Down
12 changes: 0 additions & 12 deletions src/e2e/resources/testng-e2e-sql.xml

This file was deleted.

11 changes: 0 additions & 11 deletions src/e2e/resources/testng-unstable-e2e-sql.xml

This file was deleted.

Loading