Skip to content

Commit

Permalink
Do not set ignoreFailures on tests, fixes deephaven#572 (deephaven#588)
Browse files Browse the repository at this point in the history
  • Loading branch information
devinrsmith authored May 14, 2021
1 parent 199aebd commit 493114d
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 26 deletions.
12 changes: 0 additions & 12 deletions .github/scripts/fail-on-xml-failures.sh

This file was deleted.

6 changes: 1 addition & 5 deletions .github/workflows/check-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,9 @@ jobs:
with:
job-id: checks
# todo: eventually expand to more
arguments: --scan quick
arguments: --scan --continue quick
gradle-version: wrapper

- name: Check for xml failures
run: |
./.github/scripts/fail-on-xml-failures.sh
- name: Upload Test Results
uses: actions/upload-artifact@v2
if: always()
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/long-check-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@ jobs:
arguments: --scan --continue check
gradle-version: wrapper

- name: Check for xml failures
run: |
./.github/scripts/fail-on-xml-failures.sh
- name: Upload Test Results
uses: actions/upload-artifact@v2
if: always()
Expand Down
1 change: 0 additions & 1 deletion Configuration/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ test {
useJUnit()

workingDir = "$rootDir"
ignoreFailures = true
enableAssertions = true
maxHeapSize = '3g'

Expand Down
1 change: 0 additions & 1 deletion Net/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ test {
useJUnit()

workingDir = "$rootDir"
ignoreFailures = true
enableAssertions = true
maxHeapSize = '3g'

Expand Down
1 change: 0 additions & 1 deletion Stats/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ test {
useJUnit()

workingDir = "$rootDir"
ignoreFailures = true
enableAssertions = true
maxHeapSize = '3g'

Expand Down
1 change: 0 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,6 @@ configure modsRegular,
new File("$rootDir/tmp/workspace".toString()).mkdirs()
new File("$rootDir/tmp/logs".toString()).mkdirs()

// TODO fix / move flaky tests so we can make ignoreFailures false again
ignoreFailures = TestTools.allowFailure project
if (ignoreFailures) {
// begin dirty trick to ensure you can re-run failed tests.
Expand Down
4 changes: 3 additions & 1 deletion buildSrc/src/main/groovy/TestTools.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,9 @@ By default only runs in CI; to run locally:
return !('test' in (p.gradle.startParameter.excludedTaskNames))
}

// TODO (core#598): Remove allowFailure logic
@Deprecated
static boolean allowFailure(Project project) {
return project.findProperty('allowFailure') != 'false'
return project.findProperty('allowFailure') == 'true'
}
}

0 comments on commit 493114d

Please sign in to comment.