fix: set cluster size to 1 to avoid unstable

This commit is contained in:
nic-chen 2022-03-20 02:01:30 +08:00
parent 527edd39a6
commit bb7856090a

View File

@ -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