This is an automated email from the ASF dual-hosted git repository.

tokers 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 b1e5edd  tests: fix unstable test in traffic-split.t (#3135)
b1e5edd is described below

commit b1e5edd7d88bc139f8e165c62de7e3a3cfcf2974
Author: 罗泽轩 <[email protected]>
AuthorDate: Mon Dec 28 20:55:29 2020 +0800

    tests: fix unstable test in traffic-split.t (#3135)
    
    Signed-off-by: spacewander <[email protected]>
---
 t/plugin/traffic-split.t | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/t/plugin/traffic-split.t b/t/plugin/traffic-split.t
index 7293519..dae51cc 100644
--- a/t/plugin/traffic-split.t
+++ b/t/plugin/traffic-split.t
@@ -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]
 

Reply via email to