mirror of https://github.com/milvus-io/milvus.git
Add yaml file of codecov (#7124)
* Add yaml file of codecov Signed-off-by: wangting0128 <ting.wang@zilliz.com> * Update code of codecov Signed-off-by: wangting0128 <ting.wang@zilliz.com>pull/7137/head
parent
7eb8a665b2
commit
1b4231b4e8
|
@ -0,0 +1,33 @@
|
|||
coverage:
|
||||
status:
|
||||
project:
|
||||
default:
|
||||
# basic
|
||||
target: auto
|
||||
threshold: 0%
|
||||
base: auto
|
||||
flags:
|
||||
- unit
|
||||
paths:
|
||||
- "src"
|
||||
# advanced settings
|
||||
branches:
|
||||
- master
|
||||
if_ci_failed: error #success, failure, error, ignore
|
||||
informational: false
|
||||
only_pulls: false
|
||||
patch:
|
||||
# basic
|
||||
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
|
|
@ -287,6 +287,7 @@ func (rmq *rocksmq) ExistConsumerGroup(topicName, groupName string) (bool, *Cons
|
|||
// keyExist = rmq.checkKeyExist(key)
|
||||
// }
|
||||
// }
|
||||
|
||||
if rmq.checkKeyExist(key) {
|
||||
if vals, ok := rmq.consumers.Load(topicName); ok {
|
||||
for _, v := range vals.([]*Consumer) {
|
||||
|
|
Loading…
Reference in New Issue