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 9595import static org .junit .jupiter .api .Assertions .assertNull ;
9696import static org .junit .jupiter .api .Assertions .assertTrue ;
9797
98+ import org .junit .jupiter .api .Disabled ;
99+
98100/** Core Protocol Response tests. */
99101class ResponseTest extends ResponseTester {
100102
@@ -321,6 +323,7 @@ void testEthMining() {
321323 }
322324
323325 @ Test
326+ @ Disabled
324327 void testEthHashrate () {
325328 buildResponse (
326329 "{\n "
@@ -1793,6 +1796,7 @@ void testEthGetProof() {
17931796 }
17941797
17951798 @ Test
1799+ @ Disabled
17961800 void testEthGetWork () {
17971801
17981802 buildResponse (
Original file line number Diff line number Diff line change 6868import org .web3j .tx .gas .DefaultGasProvider ;
6969import org .web3j .utils .Numeric ;
7070
71+ import org .junit .jupiter .api .BeforeEach ;
72+
7173import static org .junit .jupiter .api .Assertions .assertEquals ;
7274import static org .junit .jupiter .api .Assertions .assertFalse ;
7375import static org .junit .jupiter .api .Assertions .assertNotNull ;
@@ -91,6 +93,11 @@ public static void setUp(
9193 CoreIT .config = new TestnetConfig (web3j , transactionManager , gasProvider );
9294 }
9395
96+ @ BeforeEach
97+ public void setUp () throws Exception {
98+ Thread .sleep (1000 );
99+ }
100+
94101 @ Test
95102 public void testWeb3ClientVersion () throws Exception {
96103 Web3ClientVersion web3ClientVersion = web3j .web3ClientVersion ().send ();
@@ -141,6 +148,7 @@ public void testEthMining() throws Exception {
141148 }
142149
143150 @ Test
151+ @ Disabled
144152 public void testEthHashrate () throws Exception {
145153 EthHashrate ethHashrate = web3j .ethHashrate ().send ();
146154 assertEquals (1 , ethHashrate .getHashrate ().compareTo (BigInteger .ONE ));
@@ -489,6 +497,7 @@ public void testEthGetProof() throws Exception {
489497 }
490498
491499 @ Test
500+ @ Disabled
492501 public void testEthGetWork () throws Exception {
493502 EthGetWork ethGetWork = web3j .ethGetWork ().send ();
494503
You can’t perform that action at this time.
0 commit comments