This is an automated email from the ASF dual-hosted git repository.
spacewander pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git
The following commit(s) were added to refs/heads/master by this push:
new 03a1c76 test: make t/plugin/traffic-split.t stable (#5176)
03a1c76 is described below
commit 03a1c760845e7666d924b4f817a42e8e4c0c7e0b
Author: 罗泽轩 <[email protected]>
AuthorDate: Sat Oct 9 09:11:36 2021 +0800
test: make t/plugin/traffic-split.t stable (#5176)
---
t/plugin/traffic-split.t | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/t/plugin/traffic-split.t b/t/plugin/traffic-split.t
index 095ac96..423816f 100644
--- a/t/plugin/traffic-split.t
+++ b/t/plugin/traffic-split.t
@@ -626,10 +626,10 @@ GET /t
name = "upstream_A",
type = "roundrobin",
nodes = {
- ["foo.com:80"] = 0
+ ["apiseven.com:80"] = 0
}
},
- weight = 2
+ weight = 100000
}, {
weight = 1
} }
@@ -667,7 +667,7 @@ passed
GET /server_port
--- error_code: 502
--- error_log eval
-qr/dns resolver domain: foo.com to \d+.\d+.\d+.\d+/
+qr/dns resolver domain: apiseven.com to \d+.\d+.\d+.\d+/