diff --git a/tidb-binlog/node/registry_test.go b/tidb-binlog/node/registry_test.go index 121f545809f69..fb6cdc73eb2e5 100644 --- a/tidb-binlog/node/registry_test.go +++ b/tidb-binlog/node/registry_test.go @@ -37,7 +37,7 @@ func TestUpdateNodeInfo(t *testing.T) { defer testEtcdCluster.Terminate(t) etcdclient := etcd.NewClient(testEtcdCluster.RandClient(), DefaultRootPath) - r := NewEtcdRegistry(etcdclient, time.Duration(5)*time.Second) + r := NewEtcdRegistry(etcdclient, time.Duration(30)*time.Second) ns := &Status{ NodeID: "test", Addr: "test",