File tree Expand file tree Collapse file tree
core/src/test/java/org/web3j/protocol/core
integration-tests/src/test/java/org/web3j/protocol/core Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222import java .util .Map ;
2323import java .util .Optional ;
2424
25+ import org .junit .jupiter .api .Disabled ;
2526import org .junit .jupiter .api .Test ;
2627
2728import org .web3j .protocol .ResponseTester ;
@@ -323,6 +324,7 @@ void testEthMining() {
323324 }
324325
325326 @ Test
327+ @ Disabled
326328 void testEthHashrate () {
327329 buildResponse (
328330 "{\n "
@@ -1810,6 +1812,7 @@ void testEthGetProof() {
18101812 }
18111813
18121814 @ Test
1815+ @ Disabled
18131816 void testEthGetWork () {
18141817
18151818 buildResponse (
Original file line number Diff line number Diff line change 1717import java .util .List ;
1818
1919import org .junit .jupiter .api .BeforeAll ;
20+ import org .junit .jupiter .api .BeforeEach ;
2021import org .junit .jupiter .api .Disabled ;
2122import org .junit .jupiter .api .Test ;
2223
@@ -91,6 +92,11 @@ public static void setUp(
9192 CoreIT .config = new TestnetConfig (web3j , transactionManager , gasProvider );
9293 }
9394
95+ @ BeforeEach
96+ public void setUp () throws Exception {
97+ Thread .sleep (1000 );
98+ }
99+
94100 @ Test
95101 public void testWeb3ClientVersion () throws Exception {
96102 Web3ClientVersion web3ClientVersion = web3j .web3ClientVersion ().send ();
@@ -141,6 +147,7 @@ public void testEthMining() throws Exception {
141147 }
142148
143149 @ Test
150+ @ Disabled
144151 public void testEthHashrate () throws Exception {
145152 EthHashrate ethHashrate = web3j .ethHashrate ().send ();
146153 assertEquals (1 , ethHashrate .getHashrate ().compareTo (BigInteger .ONE ));
@@ -490,6 +497,7 @@ public void testEthGetProof() throws Exception {
490497 }
491498
492499 @ Test
500+ @ Disabled
493501 public void testEthGetWork () throws Exception {
494502 EthGetWork ethGetWork = web3j .ethGetWork ().send ();
495503
You can’t perform that action at this time.
0 commit comments