Skip to content

Commit

Permalink
test(openwhisk): ensure the request sent to a wrong host (apache#7507)
Browse files Browse the repository at this point in the history
Avoid test failures:
Failed test 't/plugin/openwhisk.t TEST 12: hit route (with wrong api_host) -
pattern "failed to process openwhisk action, err:" should match a line
in error.log
happened in CentOS 7 test.

Look like 127.0.0.0 is connectable in some environment.

Signed-off-by: spacewander <[email protected]>
  • Loading branch information
spacewander committed Aug 12, 2022
1 parent 949482c commit d2f2c6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/plugin/openwhisk.t
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ qr/"error":"The requested resource does not exist."/
[[{
"plugins": {
"openwhisk": {
"api_host": "http://127.0.0.0:3233",
"api_host": "http://127.0.0.1:1979",
"service_token": "23bc46b1-71f6-4ed5-8c54-816aa4f8c502:123zO3xZCLrMN6v2BKK1dXYFpXlPkccOFqm12CdAsMgRU4VrNZ9lyGVCGuMDGIwP",
"namespace": "guest",
"action": "non-existent"
Expand Down

0 comments on commit d2f2c6b

Please sign in to comment.