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 4f898c0f2 test: fix test fails randomly caused by the order (#8301)
4f898c0f2 is described below

commit 4f898c0f27273899e114537f5796e903919103bd
Author: 罗泽轩 <[email protected]>
AuthorDate: Fri Nov 11 10:32:39 2022 +0800

    test: fix test fails randomly caused by the order (#8301)
---
 t/plugin/zipkin2.t | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/t/plugin/zipkin2.t b/t/plugin/zipkin2.t
index d99defa5a..57c08ba51 100644
--- a/t/plugin/zipkin2.t
+++ b/t/plugin/zipkin2.t
@@ -123,22 +123,21 @@ invalid b3 header
 === TEST 4: disable via b3
 --- more_headers
 b3: 80f198ee56343ba864fe8b2a57d3eff7-e457b5a2e4d86bd1-0-05e3ac9a4f6e3b90
---- response_headers
+--- response_headers_like
 x-b3-sampled: 0
 x-b3-traceid: 80f198ee56343ba864fe8b2a57d3eff7
 x-b3-parentspanid: e457b5a2e4d86bd1
---- raw_response_headers_like: x-b3-spanid: .*
+x-b3-spanid: \w+
 
 
 
 === TEST 5: disable via b3 (abbr)
 --- more_headers
 b3: 0
---- response_headers
+--- response_headers_like
 x-b3-sampled: 0
---- raw_response_headers_like
-x-b3-traceid: .*
-x-b3-spanid: .*
+x-b3-spanid: \w+
+x-b3-traceid: \w+
 
 
 

Reply via email to