mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-30 19:08:30 +08:00
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>
This commit is contained in:
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
Block a user