ci/cd: Require Quorum Acceptance Tests to pass (#2361)

* ci/cd: Enable the Quorum Acceptance Tests to break the build if the job fails

Signed-off-by: Ricardo Silva <ricardo.silva@consensys.net>

* tidy: remove message about failures ignored
Signed-off-by: Ricardo Silva <ricardo.silva@consensys.net>

Co-authored-by: mark-terry <36909937+mark-terry@users.noreply.github.com>
Co-authored-by: Sally MacFarlane <sally.macfarlane@consensys.net>
This commit is contained in:
Ricardo Silva
2021-06-07 05:08:21 +01:00
committed by GitHub
parent c047d3c791
commit a75301b6a9
2 changed files with 7 additions and 5 deletions

View File

@@ -203,9 +203,9 @@ jobs:
- attach_workspace:
at: ~/project
- run:
name: Quorum Acceptance Tests (failures ignored)
name: Quorum Acceptance Tests
no_output_timeout: 40m
command: ./gradlew --no-daemon acceptanceTestsQuorum || true # ignore result of job for now, until all issues are fixed
command: ./gradlew --no-daemon acceptanceTestsQuorum
- store_artifacts:
path: build/quorum-at
destination: quorum-at-artifacts
@@ -290,7 +290,7 @@ workflows:
- assemble
- acceptanceTestsQuorum:
requires:
- buildDocker
- assemble
- buildDocker:
requires:
- assemble
@@ -304,6 +304,7 @@ workflows:
- integrationTests
- unitTests
- acceptanceTests
- acceptanceTestsQuorum
- referenceTests
- buildDocker
- publishDocker:
@@ -316,6 +317,7 @@ workflows:
- integrationTests
- unitTests
- acceptanceTests
- acceptanceTestsQuorum
- referenceTests
- buildDocker
context:

View File

@@ -663,11 +663,11 @@ task acceptanceTestsQuorum {
* Not available features in Besu: privacy-enhancements-disabled, extension, mps
* Not available RPC methods in Besu: async, storage-root, get-quorum-payload, personal-api-signed
*
* Ignored for now (privacy-polishing): graphql, eth-api-signed, spam
* Ignored for now (privacy-polishing): graphql, eth-api-signed, spam, nosupport
*
* LOGGING_LEVEL_COM_QUORUM_GAUGE=DEBUG -- enables HTTP JSON-RPC logging
*/
def tags = "(basic && !mps && !spam && !eth-api-signed && !privacy-enhancements-disabled && !graphql && !async && !extension && !storage-root && !get-quorum-payload && !personal-api-signed) || networks/typical-besu::ibft2"
def tags = "(basic && !nosupport && !mps && !spam && !eth-api-signed && !privacy-enhancements-disabled && !graphql && !async && !extension && !storage-root && !get-quorum-payload && !personal-api-signed) || networks/typical-besu::ibft2"
doLast {
exec {