Skip to content

Commit

Permalink
fix web socket test
Browse files Browse the repository at this point in the history
  • Loading branch information
taokayan committed Jun 26, 2024
1 parent 03e1120 commit 49328ed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/nodeos_eos_evm_ws_test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -649,11 +649,11 @@ def makeReservedEvmAddress(account):
for line in lines:
Utils.Print("wsStdOutlog:", line)

time.sleep(10.0)
time.sleep(5.0)

ws = websocket.WebSocket()
Utils.Print("start to connect ws://127.0.0.1:3333")
ws.connect("ws://127.0.0.1:3333", origin="nodeos_eos_evm_test.py")
Utils.Print("start to connect ws://localhost:3333")
ws.connect("ws://localhost:3333")
ws.send("{\"method\":\"eth_blockNumber\",\"params\":[\"0x1\",false],\"id\":123}")
Utils.Print("send eth_blockNumber to websocket proxy")

Expand Down

0 comments on commit 49328ed

Please sign in to comment.