Created
July 13, 2017 10:14
-
-
Save macejmic/922fabbcad770d44e32aa024721656ec to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
make prove | |
TEST_NGINX_ERROR_LOG=/dev/stderr TEST_NGINX_BINARY=openresty prove | |
t/001-wildcard-router.t .. # I found ONLY: maybe you're debugging? | |
t/001-wildcard-router.t .. 1/? | |
# Failed test 'TEST 2: request though the wildcard router using the API - status code ok' | |
# at /Library/Perl/5.18/Test/Nginx/Socket.pm line 922. | |
# got: '200' | |
# expected: '401' | |
# Failed test 'TEST 2: request though the wildcard router using the API - response_body - response is expected (repeated req 0, req 0)' | |
# at /Library/Perl/5.18/Test/Nginx/Socket.pm line 1387. | |
# got: "<html><head><title>It works!</title></head><body>I"... | |
# length: 72 | |
# expected: "credentials missing!" | |
# length: 20 | |
# strings begin to differ at char 1 (line 1 column 1) | |
# Failed test 'TEST 2: request though the wildcard router using the API - status code ok' | |
# at /Library/Perl/5.18/Test/Nginx/Socket.pm line 922. | |
# got: '200' | |
# expected: '401' | |
# Failed test 'TEST 2: request though the wildcard router using the API - response_body - response is expected (repeated req 1, req 0)' | |
# at /Library/Perl/5.18/Test/Nginx/Socket.pm line 1387. | |
# got: "<html><head><title>It works!</title></head><body>I"... | |
# length: 72 | |
# expected: "credentials missing!" | |
# length: 20 | |
# strings begin to differ at char 1 (line 1 column 1) | |
=== t/001-wildcard-router.t TEST 2: request though the wildcard router using the API | |
2017/07/13 12:14:21 [notice] 24742#523390: using the "kqueue" event method | |
2017/07/13 12:14:21 [notice] 24742#523390: openresty/1.11.2.2 | |
2017/07/13 12:14:21 [notice] 24742#523390: built by clang 8.0.0 (clang-800.0.42.1) | |
2017/07/13 12:14:21 [notice] 24742#523390: OS: Darwin 15.6.0 | |
2017/07/13 12:14:21 [notice] 24742#523390: hw.ncpu: 4 | |
2017/07/13 12:14:21 [notice] 24742#523390: net.inet.tcp.sendspace: 131072 | |
2017/07/13 12:14:21 [notice] 24742#523390: kern.ipc.somaxconn: 128 | |
2017/07/13 12:14:21 [notice] 24742#523390: getrlimit(RLIMIT_NOFILE): 4864:9223372036854775807 | |
# Looks like you failed 4 tests of 4. | |
t/001-wildcard-router.t .. Dubious, test returned 4 (wstat 1024, 0x400) | |
Failed 4/4 subtests | |
Test Summary Report | |
------------------- | |
t/001-wildcard-router.t (Wstat: 1024 Tests: 4 Failed: 4) | |
Failed tests: 1-4 | |
Non-zero exit status: 4 | |
Files=1, Tests=4, 1 wallclock secs ( 0.04 usr 0.01 sys + 0.17 cusr 0.07 csys = 0.29 CPU) | |
Result: FAIL | |
make: *** [prove] Error 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment