Skip to content
Snippets Groups Projects
Commit 6c38d241 authored by Georgy Moshkin's avatar Georgy Moshkin :speech_balloon:
Browse files

test: make the test_raft_log failure output more manageable by default

parent 26b11774
No related branches found
No related tags found
1 merge request!947test: make the test_raft_log failure output more manageable by default
Pipeline #37606 passed
......@@ -481,7 +481,14 @@ Insert({_pico_index}, [528,0,"routing_key",true,[["instance_id",null,null,null,n
_pico_table=space_id("_pico_table"),
_pico_index=space_id("_pico_index"),
)
assert preprocess(raft_log) == preprocess(expected)
try:
assert preprocess(raft_log) == preprocess(expected)
except AssertionError as e:
# hide the huge string variables from the verbose pytest output enabled
# by the `--showlocals` option
del raft_log
del expected
raise e from e
def test_governor_notices_restarts(instance: Instance):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment