File tree Expand file tree Collapse file tree
framework/src/test/java/org/tron Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -314,12 +314,6 @@ public void transactionTest() {
314314 } catch (Exception e ) {
315315 Assert .assertTrue (e instanceof TaposException );
316316 }
317- // try {
318- // dbManager.pushVerifiedBlock(chainManager.getHead());
319- // dbManager.getBlockChainHashesOnFork(chainManager.getHeadBlockId());
320- // } catch (Exception e) {
321- // Assert.assertTrue(e instanceof TaposException);
322- // }
323317 }
324318
325319 @ Test
Original file line number Diff line number Diff line change @@ -40,18 +40,6 @@ public class SolidityNodeTest extends BaseTest {
4040 Args .getInstance ().setSolidityHttpPort (solidityHttpPort );
4141 }
4242
43- // @Test
44- // public void testSolidityArgs() {
45- // Assert.assertNotNull(Args.getInstance().getTrustNodeAddr());
46- // Assert.assertTrue(Args.getInstance().isSolidityNode());
47- // String trustNodeAddr = Args.getInstance().getTrustNodeAddr();
48- // Args.getInstance().setTrustNodeAddr(null);
49- // TronError thrown = assertThrows(TronError.class,
50- // SolidityNode::start);
51- // assertEquals(TronError.ErrCode.SOLID_NODE_INIT, thrown.getErrCode());
52- // Args.getInstance().setTrustNodeAddr(trustNodeAddr);
53- // }
54-
5543 @ Test
5644 public void testSolidityGrpcCall () {
5745 rpcApiService .start ();
You can’t perform that action at this time.
0 commit comments