mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-11 21:04:11 +00:00
reintegrate test_rpc back into all_tests
for a long time, test_rpc will crash all_tests if they are combined together. but now it works fine
This commit is contained in:
parent
3a826b8406
commit
2269d16c4c
@ -47,7 +47,6 @@ proc test(name: string, lang = "c") =
|
||||
|
||||
task test, "Run tests":
|
||||
test "all_tests"
|
||||
test "test_rpc"
|
||||
|
||||
task nimbus, "Build Nimbus":
|
||||
buildBinary "nimbus", "nimbus/", "-d:chronicles_log_level=TRACE"
|
||||
|
@ -99,7 +99,7 @@ cliBuilder:
|
||||
./test_generalstate_json,
|
||||
./test_tracer_json,
|
||||
./test_persistblock_json,
|
||||
#./test_rpc, # it crash if we combine it here
|
||||
./test_rpc,
|
||||
./test_op_arith,
|
||||
./test_op_bit,
|
||||
./test_op_env,
|
||||
|
@ -114,7 +114,8 @@ proc setupEnv(chain: BaseChainDB, signer, ks2: EthAddress, conf: NimbusConfigura
|
||||
blockHash: header.hash
|
||||
)
|
||||
|
||||
suite "Remote Procedure Calls":
|
||||
proc rpcMain*() =
|
||||
suite "Remote Procedure Calls":
|
||||
# TODO: Include other transports such as Http
|
||||
var
|
||||
ethNode = setupEthNode(eth)
|
||||
@ -399,3 +400,6 @@ suite "Remote Procedure Calls":
|
||||
|
||||
rpcServer.stop()
|
||||
rpcServer.close()
|
||||
|
||||
when isMainModule:
|
||||
rpcMain()
|
||||
|
Loading…
x
Reference in New Issue
Block a user