From b881b70c2903020836d303aa35032bdc7c7cc69b Mon Sep 17 00:00:00 2001 From: dingxiaoshuai123 <2486016589@qq.com> Date: Tue, 24 Oct 2023 20:23:23 +0800 Subject: [PATCH] change main_test.go --- tests/integration/main_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/main_test.go b/tests/integration/main_test.go index 07c9240962..2a3f58b5a5 100644 --- a/tests/integration/main_test.go +++ b/tests/integration/main_test.go @@ -19,7 +19,7 @@ var _ = BeforeSuite(func() { ctx := context.TODO() clientMaster := redis.NewClient(pikaOptions1()) clientSlave := redis.NewClient(pikaOptions2()) - cleanEnv(ctx, clientSlave, clientMaster) + cleanEnv(ctx, clientMaster, clientSlave) Expect(clientSlave.FlushDB(ctx).Err()).NotTo(HaveOccurred()) Expect(clientMaster.FlushDB(ctx).Err()).NotTo(HaveOccurred()) time.Sleep(5 * time.Second)