From 83f135840882fc7068608bd668b6e969c82379a3 Mon Sep 17 00:00:00 2001 From: Jenny Li Date: Fri, 18 Feb 2022 18:29:50 +0800 Subject: [PATCH] Update codecov.yml (#15639) Signed-off-by: Jenny Li --- codecov.yml | 10 ++++++++-- internal/datacoord/allocator.go | 1 + 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/codecov.yml b/codecov.yml index a4336cfc70..681d2cb7d1 100644 --- a/codecov.yml +++ b/codecov.yml @@ -1,8 +1,11 @@ # Configuration File for CodeCov codecov: + require_ci_to_pass: no notify: - require_ci_to_pass: yes - + require_ci_to_pass: no + wait_for_ci: false + ci: + - jenkins.milvus.io:18080 coverage: precision: 2 round: down @@ -38,3 +41,6 @@ ignore: - "docs/.*" - "**/*.pb.go" - "**/*.proto" + + + diff --git a/internal/datacoord/allocator.go b/internal/datacoord/allocator.go index 3b8567c332..c5674f7f60 100644 --- a/internal/datacoord/allocator.go +++ b/internal/datacoord/allocator.go @@ -74,6 +74,7 @@ func (alloc *rootCoordAllocator) allocID(ctx context.Context) (UniqueID, error) }, Count: 1, }) + if err = VerifyResponse(resp, err); err != nil { return 0, err }