Skip to content

Commit

Permalink
enhance: remove .git folder for unit test workflow (#29833)
Browse files Browse the repository at this point in the history
Signed-off-by: Congqi Xia <[email protected]>
  • Loading branch information
congqixia authored Jan 10, 2024
1 parent e8496d4 commit 93f8741
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ jobs:
**/*
!./.docker/**
!./cmake_build/thirdparty/**
!.git
UT-Cpp:
name: UT for Cpp
needs: Build
Expand Down Expand Up @@ -181,7 +182,6 @@ jobs:
./lcov_output.info
*.info
*.out
.git
integration-test:
name: Integration Test
needs: Build
Expand Down
2 changes: 1 addition & 1 deletion internal/querynodev2/services.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
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()
}
}()
Expand Down

0 comments on commit 93f8741

Please sign in to comment.