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,6 +114,7 @@ proc setupEnv(chain: BaseChainDB, signer, ks2: EthAddress, conf: NimbusConfigura
|
|||
blockHash: header.hash
|
||||
)
|
||||
|
||||
proc rpcMain*() =
|
||||
suite "Remote Procedure Calls":
|
||||
# TODO: Include other transports such as Http
|
||||
var
|
||||
|
@ -399,3 +400,6 @@ suite "Remote Procedure Calls":
|
|||
|
||||
rpcServer.stop()
|
||||
rpcServer.close()
|
||||
|
||||
when isMainModule:
|
||||
rpcMain()
|
||||
|
|
Loading…
Reference in New Issue