diff --git a/internal/proxy/proxy_test.go b/internal/proxy/proxy_test.go index 639ace66fc..373411dc49 100644 --- a/internal/proxy/proxy_test.go +++ b/internal/proxy/proxy_test.go @@ -1954,6 +1954,14 @@ func TestProxy(t *testing.T) { assert.NotEqual(t, commonpb.ErrorCode_Success, resp.Status.ErrorCode) }) + wg.Add(1) + t.Run("CreateAlias fail, unhealthy", func(t *testing.T) { + defer wg.Done() + resp, err := proxy.CreateAlias(ctx, &milvuspb.CreateAliasRequest{}) + assert.NoError(t, err) + assert.NotEqual(t, commonpb.ErrorCode_Success, resp.ErrorCode) + }) + wg.Add(1) t.Run("GetPersistentSegmentInfo fail, unhealthy", func(t *testing.T) { defer wg.Done()