Skip to content

Commit

Permalink
Update GethIT.java
Browse files Browse the repository at this point in the history
  • Loading branch information
gtebrean committed Mar 13, 2024
1 parent 36f4cfa commit 0915a8c
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,21 +35,22 @@ public class GethIT {
public GethIT() {}

@BeforeEach
public void setUp() {
public void setUp() throws InterruptedException {
Thread.sleep(10000);
this.web3j = Geth.build(new HttpService());
}

@Test // Method not Implemented.
public void testWeb3ClientVersion() throws Exception {
Thread.sleep(4000);
Thread.sleep(10000);
TxPoolContent content = web3j.txPoolContent().send();
assertNotNull(content.getResult());
}

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

0 comments on commit 0915a8c

Please sign in to comment.