Skip to content

Commit

Permalink
Merge pull request #457 from 3scale/fix-limits-errors
Browse files Browse the repository at this point in the history
fix failing master build
  • Loading branch information
davidor authored Oct 19, 2017
2 parents f942a42 + 133b1f5 commit 040d8cb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions t/003-apicast.t
Original file line number Diff line number Diff line change
Expand Up @@ -656,6 +656,7 @@ There are defaults defined for the error message, the content-type, and the
status code (429).
--- http_config
lua_package_path "$TEST_NGINX_LUA_PATH";
include $TEST_NGINX_UPSTREAM_CONFIG;
init_by_lua_block {
require('configuration_loader').mock({
services = {
Expand Down Expand Up @@ -698,6 +699,7 @@ Limits exceeded
=== TEST 19: configurable limits exceeded error
--- http_config
lua_package_path "$TEST_NGINX_LUA_PATH";
include $TEST_NGINX_UPSTREAM_CONFIG;
init_by_lua_block {
require('configuration_loader').mock({
services = {
Expand Down
6 changes: 3 additions & 3 deletions t/014-apicast-async-reporting.t
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ api response
--- error_code: 200
--- error_log
backend client uri: https://127.0.0.1:1953/transactions/authrep.xml?service_token=token-value&service_id=42&usage%5Bhits%5D=1&user_key=foo ok: true status: 200
--- wait: 1
--- wait: 3

=== TEST 3: uses endpoint host as Host header
when connecting to the backend
Expand Down Expand Up @@ -213,9 +213,9 @@ all ok
--- error_code: 200
--- udp_listen: 1953
--- udp_reply eval
$::dns->("localhost.example.com", "127.0.0.1")
$::dns->("localhost.example.com", "127.0.0.1", 60)
--- no_error_log
[error]
--- error_log
backend client uri: http://localhost.example.com:1984/transactions/authrep.xml?service_token=service-token&service_id=42&usage%5Bhits%5D=2&user_key=val ok: true status: 200
--- wait: 1
--- wait: 3

0 comments on commit 040d8cb

Please sign in to comment.