Skip to content

Commit

Permalink
GH-1433 get_info can't fail do to deadline, so relaunch does not indi…
Browse files Browse the repository at this point in the history
…cate failure
  • Loading branch information
heifner committed Jul 31, 2023
1 parent 579facd commit a752b48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/trace_plugin_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,10 @@ def test_TraceApi(self) :
global testSuccessful
testSuccessful = True

# relaunch with no time allocated for http response & abi-serializer. Will fail because get_info fails.
# relaunch with no time allocated for http response & abi-serializer
node.kill(signal.SIGTERM)
Utils.Print("Ignore expected: ERROR: Node relaunch Failed")
isRelaunchSuccess = node.relaunch(timeout=10, addSwapFlags={"--http-max-response-time-ms": "0", "--abi-serializer-max-time-ms": "0"})
self.assertTrue(isRelaunchSuccess)

# Verify get block_trace still works even with no time for http-max-response-time-ms and no time for bi-serializer-max-time-ms
cmdDesc="get block_trace"
Expand Down

0 comments on commit a752b48

Please sign in to comment.