Skip to content

Commit 0915a8c

Browse files
committed
Update GethIT.java
1 parent 36f4cfa commit 0915a8c

File tree

1 file changed

+4
-3
lines changed
  • integration-tests/src/test/java/org/web3j/protocol/geth

1 file changed

+4
-3
lines changed

integration-tests/src/test/java/org/web3j/protocol/geth/GethIT.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,21 +35,22 @@ public class GethIT {
3535
public GethIT() {}
3636

3737
@BeforeEach
38-
public void setUp() {
38+
public void setUp() throws InterruptedException {
39+
Thread.sleep(10000);
3940
this.web3j = Geth.build(new HttpService());
4041
}
4142

4243
@Test // Method not Implemented.
4344
public void testWeb3ClientVersion() throws Exception {
44-
Thread.sleep(4000);
45+
Thread.sleep(10000);
4546
TxPoolContent content = web3j.txPoolContent().send();
4647
assertNotNull(content.getResult());
4748
}
4849

4950
@Test
5051
@Disabled("Deprecated. Replaced by Clef's equivalent method - 'account_new'")
5152
public void testPersonalAccountCreation() throws Exception {
52-
Thread.sleep(4000);
53+
Thread.sleep(10000);
5354
Admin admin = Admin.build(new HttpService());
5455
NewAccountIdentifier accountId = admin.personalNewAccount("web3j-geth-IT").send();
5556
assertFalse(accountId.getResult().isEmpty());

0 commit comments

Comments
 (0)