mirror of https://github.com/milvus-io/milvus.git
Enable 70% of delta condition judgment for codecov (#7160)
Signed-off-by: wangting0128 <ting.wang@zilliz.com>pull/7160/merge
parent
ec9ccd8bd1
commit
7233b62dad
|
@ -5,6 +5,7 @@ pull_request_rules:
|
|||
- "status-success=Code Checker AMD64 Ubuntu 18.04"
|
||||
- "status-success=Build and test AMD64 Ubuntu 18.04"
|
||||
- "status-success=continuous-integration/jenkins/pr-merge"
|
||||
- "status-success=codecov/patch"
|
||||
actions:
|
||||
label:
|
||||
add:
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
#Configuration File for CodeCov
|
||||
codecov:
|
||||
notify:
|
||||
require_ci_to_pass: yes
|
||||
|
||||
coverage:
|
||||
precision: 2
|
||||
round: down
|
||||
|
@ -16,6 +20,7 @@ coverage:
|
|||
threshold: 0%
|
||||
branches:
|
||||
- master
|
||||
if_ci_failed: error #success, failure, error, ignore
|
||||
|
||||
comment:
|
||||
layout: "reach, diff, flags, files"
|
||||
|
|
|
@ -275,7 +275,6 @@ 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)
|
||||
|
@ -288,7 +287,6 @@ 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