mirror of https://github.com/milvus-io/milvus.git
fix: Removed chance for port conflict in service_test (#32626)
issue: https://github.com/milvus-io/milvus/issues/32286 - Avoided chance for server initialisation at port 10000 Signed-off-by: Aldrin <imagesai32@gmail.com>pull/32664/head
parent
cb8dbc3c83
commit
51297b51e1
|
@ -149,7 +149,7 @@ func TestRun(t *testing.T) {
|
|||
return mockQueryCoord
|
||||
}
|
||||
|
||||
paramtable.Get().Save(rcServerConfig.Port.Key, fmt.Sprintf("%d", rand.Int()%100+10000))
|
||||
paramtable.Get().Save(rcServerConfig.Port.Key, fmt.Sprintf("%d", rand.Int()%100+10010))
|
||||
etcdConfig := ¶mtable.Get().EtcdCfg
|
||||
|
||||
rand.Seed(time.Now().UnixNano())
|
||||
|
|
Loading…
Reference in New Issue