From d5e3fe787b8ef6c636ccc6833ac66faa3b35a09d Mon Sep 17 00:00:00 2001 From: Abdelhamid Bakhta <45264458+abdelhamidbakhta@users.noreply.github.com> Date: Thu, 12 Sep 2019 18:28:40 +0200 Subject: [PATCH] [FLAKY TEST] disable flaky test (#1930) * [FLAKY TEST] disable flaky test * add @Ignore annotation * spotlessApply * ignore tests --- .../tests/web3j/privacy/EthSignerAcceptanceTest.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/acceptance-tests/src/test/java/tech/pegasys/pantheon/tests/web3j/privacy/EthSignerAcceptanceTest.java b/acceptance-tests/src/test/java/tech/pegasys/pantheon/tests/web3j/privacy/EthSignerAcceptanceTest.java index a5685f20b6..5462264476 100644 --- a/acceptance-tests/src/test/java/tech/pegasys/pantheon/tests/web3j/privacy/EthSignerAcceptanceTest.java +++ b/acceptance-tests/src/test/java/tech/pegasys/pantheon/tests/web3j/privacy/EthSignerAcceptanceTest.java @@ -24,6 +24,7 @@ import java.util.Collections; import org.junit.Before; +import org.junit.Ignore; import org.junit.Test; import org.web3j.protocol.eea.response.PrivateTransactionReceipt; import org.web3j.protocol.pantheon.response.privacy.PrivacyGroup; @@ -54,6 +55,7 @@ public void setUp() throws Exception { } @Test + @Ignore public void privateSmartContractMustDeploy() throws IOException { final String transactionHash = ethSignerClient.eeaSendTransaction( @@ -74,6 +76,7 @@ public void privateSmartContractMustDeploy() throws IOException { } @Test + @Ignore public void privateSmartContractMustDeployNoNonce() throws IOException { final String transactionHash = ethSignerClient.eeaSendTransaction( @@ -92,7 +95,11 @@ public void privateSmartContractMustDeployNoNonce() throws IOException { privateTransactionVerifier.validPrivateTransactionReceipt(transactionHash, receipt)); } + // TODO: investigate and fix flaky test + // re-enable when fixed + // https://jenkins.pegasys.tech/job/Pantheon/job/master/1629/testReport/junit/tech.pegasys.pantheon.tests.web3j.privacy/EthSignerAcceptanceTest/AcceptanceTests___privateSmartContractMustDeployNoNonce/ @Test + @Ignore public void privateSmartContractMustDeployWithPrivacyGroup() throws IOException { final String privacyGroupId = minerNode.execute(privacyTransactions.createPrivacyGroup(null, null, minerNode)); @@ -125,6 +132,7 @@ public void privateSmartContractMustDeployWithPrivacyGroup() throws IOException } @Test + @Ignore public void privateSmartContractMustDeployWithPrivacyGroupNoNonce() throws IOException { final String privacyGroupId = minerNode.execute(privacyTransactions.createPrivacyGroup(null, null, minerNode));