From 6dba2a7aefe52a1dfd9529b17002670f7e1b4570 Mon Sep 17 00:00:00 2001 From: Alex Duan <417921451@qq.com> Date: Sun, 31 Dec 2023 17:11:47 +0800 Subject: [PATCH] fix: add replica to 3 --- tests/army/community/cluster/snapshot.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/army/community/cluster/snapshot.py b/tests/army/community/cluster/snapshot.py index 66f9d9f598..b177ba3b29 100644 --- a/tests/army/community/cluster/snapshot.py +++ b/tests/army/community/cluster/snapshot.py @@ -57,12 +57,14 @@ class TDTestCase(TBase): # replica to 1 self.alterReplica(1) self.checkAggCorrect() + self.compactDb() + self.alterReplica(3) vgids = self.getVGroup(self.db) selid = random.choice(vgids) self.balanceVGroupLeaderOn(selid) - self.compactDb() + # run def run(self):