mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-06 17:18:35 +08:00
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>
This commit is contained in:
parent
7eb8a665b2
commit
1b4231b4e8
33
codecov.yml
Normal file
33
codecov.yml
Normal file
@ -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)
|
// keyExist = rmq.checkKeyExist(key)
|
||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
|
|
||||||
if rmq.checkKeyExist(key) {
|
if rmq.checkKeyExist(key) {
|
||||||
if vals, ok := rmq.consumers.Load(topicName); ok {
|
if vals, ok := rmq.consumers.Load(topicName); ok {
|
||||||
for _, v := range vals.([]*Consumer) {
|
for _, v := range vals.([]*Consumer) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user