From bb7856090a8f3d08bfbb2c85c859de880fe0dd0f Mon Sep 17 00:00:00 2001 From: nic-chen Date: Sun, 20 Mar 2022 02:01:30 +0800 Subject: [PATCH] fix: set cluster size to 1 to avoid unstable --- tests/common/alarm_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/common/alarm_test.go b/tests/common/alarm_test.go index 4bf12f994..bb66fd727 100644 --- a/tests/common/alarm_test.go +++ b/tests/common/alarm_test.go @@ -27,7 +27,7 @@ import ( func TestAlarm(t *testing.T) { testRunner.BeforeTest(t) - clus := testRunner.NewCluster(t, config.ClusterConfig{ClusterSize: 3, QuotaBackendBytes: int64(13 * os.Getpagesize())}) + clus := testRunner.NewCluster(t, config.ClusterConfig{ClusterSize: 1, QuotaBackendBytes: int64(13 * os.Getpagesize())}) defer clus.Close() testutils.ExecuteWithTimeout(t, 10*time.Second, func() { // test small put still works