提交 d1f83aa1 编写于 作者: C chris-sun-star

fix test

上级 addbe86a
......@@ -13,6 +13,7 @@ require (
github.com/go-sql-driver/mysql v1.6.0
github.com/golang/protobuf v1.5.2 // indirect
github.com/gwatts/gin-adapter v0.0.0-20170508204228-c44433c485ad
github.com/hashicorp/golang-lru v0.5.3 // indirect
github.com/huandu/go-clone v1.3.0
github.com/kr/text v0.2.0 // indirect
github.com/mattn/go-isatty v0.0.12
......
......@@ -130,7 +130,7 @@ func TestCollectConditionNotSatisfied(t *testing.T) {
k1: 1
collectConfig:
- sql: select t1, t2, m1, m2 from test_metric
condition: k0
conditions: [k0]
name: test
tags:
tag1: t1
......@@ -161,7 +161,7 @@ func TestCollectConditionNotFound(t *testing.T) {
k1: 1
collectConfig:
- sql: select t1, t2, m1, m2 from test_metric
condition: k2
conditions: [k2]
name: test
tags:
tag1: t1
......@@ -193,7 +193,7 @@ func TestCollectConditionNotBool(t *testing.T) {
k2: x
collectConfig:
- sql: select t1, t2, m1, m2 from test_metric
condition: k2
conditions: [k2]
name: test
tags:
tag1: t1
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册