瀏覽代碼

fix: tests

Yeuoly 8 月之前
父節點
當前提交
94554c0934
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      internal/cluster/plugin_test.go

+ 1 - 1
internal/cluster/plugin_test.go

@@ -208,7 +208,7 @@ func TestPluginScheduleWhenMasterClusterShutdown(t *testing.T) {
 	hashedIdentity := plugin_entities.HashedIdentity(identity.String())
 
 	ticker := time.NewTicker(time.Second)
-	timeout := time.NewTimer(MASTER_GC_INTERVAL * 2)
+	timeout := time.NewTimer(MASTER_GC_INTERVAL * 3)
 	done := false
 	for !done {
 		select {