Skip to content

Commit

Permalink
fix: failing CI due to wrong status from upstream in traffic split (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Revolyssup authored Jan 16, 2025
1 parent 5a3259a commit 9046d9a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions t/plugin/traffic-split.t
Original file line number Diff line number Diff line change
Expand Up @@ -673,9 +673,9 @@ GET /t
name = "upstream_A",
type = "roundrobin",
pass_host = "rewrite",
upstream_host = "www.apiseven.com",
upstream_host = "httpbin.org",
nodes = {
["www.apiseven.com:80"] = 0
["httpbin.org:80"] = 0
}
},
weight = 100000
Expand Down Expand Up @@ -715,7 +715,7 @@ passed
--- error_code eval
[200, 200]
--- error_log_like eval
qr/(dns resolver domain: www.apiseven.com to \d+.\d+.\d+.\d+){2}/
qr/(dns resolver domain: httpbin.org to \d+.\d+.\d+.\d+){2}/



Expand Down

0 comments on commit 9046d9a

Please sign in to comment.