tests: fix unstable test in traffic-split.t (#3135)

Signed-off-by: spacewander <spacewanderlzx@gmail.com>
This commit is contained in:
罗泽轩 2020-12-28 20:55:29 +08:00 committed by GitHub
parent 6dba053c08
commit b1e5edd7d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1211,9 +1211,12 @@ GET /t
1981, 1982
--- grep_error_log eval
qr/upstream_key: roundrobin#route_1_\d/
--- grep_error_log_out
upstream_key: roundrobin#route_1_1
--- grep_error_log_out eval
qr/(upstream_key: roundrobin#route_1_1
upstream_key: roundrobin#route_1_2
|upstream_key: roundrobin#route_1_2
upstream_key: roundrobin#route_1_1
)/
--- no_error_log
[error]