Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Commit

Permalink
[FLAKY TEST] disable flaky test (#1930)
Browse files Browse the repository at this point in the history
* [FLAKY TEST] disable flaky test

* add @ignore annotation

* spotlessApply

* ignore tests
  • Loading branch information
AbdelStark authored Sep 12, 2019
1 parent ca7fb80 commit d5e3fe7
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -54,6 +55,7 @@ public void setUp() throws Exception {
}

@Test
@Ignore
public void privateSmartContractMustDeploy() throws IOException {
final String transactionHash =
ethSignerClient.eeaSendTransaction(
Expand All @@ -74,6 +76,7 @@ public void privateSmartContractMustDeploy() throws IOException {
}

@Test
@Ignore
public void privateSmartContractMustDeployNoNonce() throws IOException {
final String transactionHash =
ethSignerClient.eeaSendTransaction(
Expand All @@ -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));
Expand Down Expand Up @@ -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));
Expand Down

0 comments on commit d5e3fe7

Please sign in to comment.