mirror of https://github.com/milvus-io/milvus.git
parent
9ce9c6ea68
commit
f1bad98f00
|
@ -178,8 +178,7 @@ func TestIndexCoord(t *testing.T) {
|
|||
resp, err := ic.GetIndexStates(ctx, req)
|
||||
assert.Nil(t, err)
|
||||
assert.Equal(t, commonpb.ErrorCode_Success, resp.Status.ErrorCode)
|
||||
if resp.States[0].State == commonpb.IndexState_Finished ||
|
||||
resp.States[0].State == commonpb.IndexState_Failed {
|
||||
if resp.States[0].State == commonpb.IndexState_Finished {
|
||||
break
|
||||
}
|
||||
time.Sleep(100 * time.Millisecond)
|
||||
|
|
Loading…
Reference in New Issue