mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
fix: set cluster size to 1 to avoid unstable
This commit is contained in:
parent
527edd39a6
commit
bb7856090a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user