mirror of https://github.com/milvus-io/milvus.git
parent
305fa9c17e
commit
09525f5723
45
codecov.yml
45
codecov.yml
|
@ -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/.*"
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue