We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1249113 commit fb6c256Copy full SHA for fb6c256
tests/python/functional/hived/test_snapshot.py
@@ -1,6 +1,7 @@
1
from __future__ import annotations
2
3
import os
4
+import subprocess
5
from typing import TYPE_CHECKING
6
7
import pytest
@@ -121,7 +122,7 @@ def clear_state(node: tt.InitNode):
121
122
node.config.plugin.append("block_log_info")
123
node.run(exit_before_synchronization=True, replay_from=block_log)
124
- with pytest.raises(RuntimeError):
125
+ with pytest.raises(subprocess.CalledProcessError):
126
node.run(load_snapshot_from=snap_0, exit_before_synchronization=True)
127
128
# two files should be created which will show difference between state definitions in shm and current hived
0 commit comments