Update file of codecov (#7144)

Signed-off-by: wangting0128 <ting.wang@zilliz.com>
pull/7152/head
紫晴 2021-08-18 14:48:11 +08:00 committed by GitHub
parent 305fa9c17e
commit 09525f5723
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 23 deletions

View File

@ -1,33 +1,32 @@
#Configuration File for CodeCov
coverage:
precision: 2
round: down
range: "70...100"
status:
project:
default:
# basic
target: auto
threshold: 0%
base: auto
flags:
- unit
paths:
- "src"
# advanced settings
threshold: 0% #Allow the coverage to drop by threshold%, and posting a success status.
branches:
- master
if_ci_failed: error #success, failure, error, ignore
informational: false
only_pulls: false
patch:
# basic
patch:
default:
target: 70%
threshold: 0%
base: auto
flags:
- unit
paths:
- "src"
# advanced settings
branches:
- master
if_ci_failed: failure #success, failure, error, ignore
informational: false
only_pulls: false
comment:
layout: "reach, diff, flags, files"
behavior: default
require_changes: false
branches: # branch names that can post comment
- master
ignore:
- "LICENSES"
- ".git"
- "*.yml"
- "*.md"
- "docs/.*"

View File

@ -275,6 +275,7 @@ func (rmq *rocksmq) DestroyTopic(topicName string) error {
func (rmq *rocksmq) ExistConsumerGroup(topicName, groupName string) (bool, *Consumer) {
key := groupName + "/" + topicName + "/current_id"
// keyExist := false
// if ll, ok := topicMu.Load(topicName); !ok {
// keyExist = rmq.checkKeyExist(key)