Skip to content

Commit 2199fd7

Browse files
committed
fixes
1 parent 917d0fa commit 2199fd7

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

ydb/tests/compatibility/test_rolling.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def test_log(self, store_type):
106106
)
107107
yatest.common.execute(init_command, wait=True, stdout=self.output_f, stderr=self.output_f)
108108
run = yatest.common.execute(run_command, wait=False, stdout=self.output_f, stderr=self.output_f)
109-
109+
110110
for _ in self.roll():
111111
time.sleep(5)
112112

ydb/tests/library/compatibility/fixtures.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,18 @@ def setup_cluster(self, **kwargs):
138138
self.cluster.stop()
139139

140140
def roll(self):
141+
# from old to new
141142
for node_id, node in self.cluster.nodes.items():
142143
node.stop()
143144
node.binary_path = current_binary_path
144145
node.start()
145146
yield
147+
148+
# from new to old
149+
for node_id, node in self.cluster.nodes.items():
150+
node.stop()
151+
node.binary_path = last_stable_binary_path
152+
node.start()
153+
yield
154+
155+
yield

0 commit comments

Comments
 (0)