mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-02 20:09:57 +08:00
enhance: remove .git folder for unit test workflow (#29833)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
This commit is contained in:
parent
e8496d4d49
commit
93f87417fd
2
.github/workflows/main.yaml
vendored
2
.github/workflows/main.yaml
vendored
@ -102,6 +102,7 @@ jobs:
|
|||||||
**/*
|
**/*
|
||||||
!./.docker/**
|
!./.docker/**
|
||||||
!./cmake_build/thirdparty/**
|
!./cmake_build/thirdparty/**
|
||||||
|
!.git
|
||||||
UT-Cpp:
|
UT-Cpp:
|
||||||
name: UT for Cpp
|
name: UT for Cpp
|
||||||
needs: Build
|
needs: Build
|
||||||
@ -181,7 +182,6 @@ jobs:
|
|||||||
./lcov_output.info
|
./lcov_output.info
|
||||||
*.info
|
*.info
|
||||||
*.out
|
*.out
|
||||||
.git
|
|
||||||
integration-test:
|
integration-test:
|
||||||
name: Integration Test
|
name: Integration Test
|
||||||
needs: Build
|
needs: Build
|
||||||
|
@ -671,7 +671,7 @@ func (node *QueryNode) SearchSegments(ctx context.Context, req *querypb.SearchRe
|
|||||||
|
|
||||||
metrics.QueryNodeSQCount.WithLabelValues(fmt.Sprint(paramtable.GetNodeID()), metrics.SearchLabel, metrics.TotalLabel, metrics.FromLeader).Inc()
|
metrics.QueryNodeSQCount.WithLabelValues(fmt.Sprint(paramtable.GetNodeID()), metrics.SearchLabel, metrics.TotalLabel, metrics.FromLeader).Inc()
|
||||||
defer func() {
|
defer func() {
|
||||||
if resp.GetStatus().GetErrorCode() != commonpb.ErrorCode_Success {
|
if !merr.Ok(resp.GetStatus()) {
|
||||||
metrics.QueryNodeSQCount.WithLabelValues(fmt.Sprint(paramtable.GetNodeID()), metrics.SearchLabel, metrics.FailLabel, metrics.FromLeader).Inc()
|
metrics.QueryNodeSQCount.WithLabelValues(fmt.Sprint(paramtable.GetNodeID()), metrics.SearchLabel, metrics.FailLabel, metrics.FromLeader).Inc()
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
|
Loading…
Reference in New Issue
Block a user