forked from TrueCloudLab/frostfs-testcases
#478 Update lock tests
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
This commit is contained in:
parent
1abf544433
commit
4099413577
2 changed files with 12 additions and 7 deletions
|
@ -1,3 +1,4 @@
|
|||
import allure
|
||||
import epoch
|
||||
import pytest
|
||||
from cluster import Cluster
|
||||
|
@ -15,6 +16,11 @@ class ClusterTestBase:
|
|||
ClusterTestBase.cluster = cluster
|
||||
yield
|
||||
|
||||
@allure.title("Tick {epochs_to_tick} epochs")
|
||||
def tick_epochs(self, epochs_to_tick: int):
|
||||
for _ in range(epochs_to_tick):
|
||||
self.tick_epoch()
|
||||
|
||||
def tick_epoch(self):
|
||||
epoch.tick_epoch(self.shell, self.cluster)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue