Skip to content

Commit

Permalink
tests(*) investigate local proxy/httpbin failures
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaultcha committed Nov 26, 2024
1 parent d834bb0 commit b577763
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/job-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ jobs:
work/buildroot/
t/servroot*
${{ github.workspace }}/coredumps
/var/log/nginx/
#- name: Setup tmate session
# if: ${{ failure() && !env.ACT }}
# uses: mxschmitt/action-tmate@v3
Expand Down
2 changes: 1 addition & 1 deletion t/03-proxy_wasm/hfuncs/130-proxy_dispatch_http.t
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ qq{
echo fail;
}
}
--- error_code_like: (200|502|503|504)
--- error_code_like: (200)
--- response_body_like
(\s*"Hello": "world",\s*
.*?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Succeeds on:
on_http_call_response=echo_response_body';
echo failed;
}
--- error_code_like: (200|502|503|504)
--- error_code_like: (200)
--- response_body_like: ("Host": "httpbin\.org"|.*?502 Bad Gateway.*|.*?503 Service Temporarily Unavailable.*|.*?504 Gateway Time-out.*)
--- error_log eval
[
Expand Down Expand Up @@ -309,7 +309,7 @@ Succeeds on:
on_http_call_response=echo_response_body';
echo failed;
}
--- error_code_like: (200|502|503|504)
--- error_code_like: (200)
--- response_body_like: ("Host": "httpbin\.org"|.*?502 Bad Gateway.*|.*?503 Service Temporarily Unavailable.*|.*?504 Gateway Time-out.*)
--- error_log eval
[
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Succeeds on:
on_http_call_response=echo_response_body';
echo failed;
}
--- error_code_like: (200|502|503|504)
--- error_code_like: (200)
--- response_body_like: ("Host": "httpbin\.org"|.*?502 Bad Gateway.*|.*?503 Service Temporarily Unavailable.*|.*?504 Gateway Time-out.*)
--- error_log eval
[
Expand Down

0 comments on commit b577763

Please sign in to comment.