(This page was automatically generated by the tools in the opsboy project on 15:08:05 28-Dec-2023 GMT.)

Detailed Test Report for ngx_memc in linux x86_64

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
dfbed060 2020-09-28 06:48:46 GMT 181 0 19 396 21 sec

LuaJIT

LuaJIT 2.1.0-beta3, commit 0e646b54

Compilation Errors

Unexpected Failures

File Name Details
bugs.t TEST 2: set in a subrequest issued from an output filter - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,15 @@
-STORED
+<html>
+<head><title>502 Bad Gateway</title></head>
+<body>
+<center><h1>502 Bad Gateway</h1></center>
+<hr><center>nginx/1.17.8 (no pool)</center>
+</body>
+</html>
~~
-STORED
+<html>
+<head><title>502 Bad Gateway</title></head>
+<body>
+<center><h1>502 Bad Gateway</h1></center>
+<hr><center>nginx/1.17.8 (no pool)</center>
+</body>
+</html>
'
bugs.t TEST 2: set in a subrequest issued from an output filter - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,15 @@
-STORED
+<html>
+<head><title>502 Bad Gateway</title></head>
+<body>
+<center><h1>502 Bad Gateway</h1></center>
+<hr><center>nginx/1.17.8 (no pool)</center>
+</body>
+</html>
~~
-STORED
+<html>
+<head><title>502 Bad Gateway</title></head>
+<body>
+<center><h1>502 Bad Gateway</h1></center>
+<hr><center>nginx/1.17.8 (no pool)</center>
+</body>
+</html>
'
bugs.t TEST 2: set in a subrequest issued from an output filter - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1,15 @@
-STORED
+<html>
+<head><title>502 Bad Gateway</title></head>
+<body>
+<center><h1>502 Bad Gateway</h1></center>
+<hr><center>nginx/1.17.8 (no pool)</center>
+</body>
+</html>
~~
-STORED
+<html>
+<head><title>502 Bad Gateway</title></head>
+<body>
+<center><h1>502 Bad Gateway</h1></center>
+<hr><center>nginx/1.17.8 (no pool)</center>
+</body>
+</html>
'
bugs.t TEST 3: reuse request body - response_body - response is expected (repeated req 0, req 0) @@ -1,19 +1,50 @@
flush_all
-status: 200
+status: 502
exptime:
-OK
+<html>
+<head><title>502 Bad Gateway</title></head>
+<body>
+<center><h1>502 Bad Gateway</h1></center>
+<hr><center>nginx/1.17.8 (no pool)</center>
+</body>
+</html>
set foo
-status: 201
+status: 502
exptime: 0
-STORED
+<html>
+<head><title>502 Bad Gateway</title></head>
+<body>
+<center><h1>502 Bad Gateway</h1></center>
+<hr><center>nginx/1.17.8 (no pool)</center>
+</body>
+</html>
set bar
-status: 201
+status: 502
exptime: 0
-STORED
+<html>
+<head><title>502 Bad Gateway</title></head>
+<body>
+<center><h1>502 Bad Gateway</h1></center>
+<hr><center>nginx/1.17.8 (no pool)</center>
+</body>
+</html>
get bar
-status: 200
+status: 502
exptime:
-Helloget foo
-status: 200
+<html>
+<head><title>502 Bad Gateway</title></head>
+<body>
+<center><h1>502 Bad Gateway</h1></center>
+<hr><center>nginx/1.17.8 (no pool)</center>
+</body>
+</html>
+get foo
+status: 502
exptime:
-Hello+<html>
+<head><title>502 Bad Gateway</title></head>
+<body>
+<center><h1>502 Bad Gateway</h1></center>
+<hr><center>nginx/1.17.8 (no pool)</center>
+</body>
+</html>
'
bugs.t TEST 3: reuse request body - response_body - response is expected (repeated req 1, req 0) @@ -1,19 +1,50 @@
flush_all
-status: 200
+status: 502
exptime:
-OK
+<html>
+<head><title>502 Bad Gateway</title></head>
+<body>
+<center><h1>502 Bad Gateway</h1></center>
+<hr><center>nginx/1.17.8 (no pool)</center>
+</body>
+</html>
set foo
-status: 201
+status: 502
exptime: 0
-STORED
+<html>
+<head><title>502 Bad Gateway</title></head>
+<body>
+<center><h1>502 Bad Gateway</h1></center>
+<hr><center>nginx/1.17.8 (no pool)</center>
+</body>
+</html>
set bar
-status: 201
+status: 502
exptime: 0
-STORED
+<html>
+<head><title>502 Bad Gateway</title></head>
+<body>
+<center><h1>502 Bad Gateway</h1></center>
+<hr><center>nginx/1.17.8 (no pool)</center>
+</body>
+</html>
get bar
-status: 200
+status: 502
exptime:
-Helloget foo
-status: 200
+<html>
+<head><title>502 Bad Gateway</title></head>
+<body>
+<center><h1>502 Bad Gateway</h1></center>
+<hr><center>nginx/1.17.8 (no pool)</center>
+</body>
+</html>
+get foo
+status: 502
exptime:
-Hello+<html>
+<head><title>502 Bad Gateway</title></head>
+<body>
+<center><h1>502 Bad Gateway</h1></center>
+<hr><center>nginx/1.17.8 (no pool)</center>
+</body>
+</html>
'
bugs.t TEST 3: reuse request body - response_body - response is expected (repeated req 2, req 0) @@ -1,19 +1,50 @@
flush_all
-status: 200
+status: 502
exptime:
-OK
+<html>
+<head><title>502 Bad Gateway</title></head>
+<body>
+<center><h1>502 Bad Gateway</h1></center>
+<hr><center>nginx/1.17.8 (no pool)</center>
+</body>
+</html>
set foo
-status: 201
+status: 502
exptime: 0
-STORED
+<html>
+<head><title>502 Bad Gateway</title></head>
+<body>
+<center><h1>502 Bad Gateway</h1></center>
+<hr><center>nginx/1.17.8 (no pool)</center>
+</body>
+</html>
set bar
-status: 201
+status: 502
exptime: 0
-STORED
+<html>
+<head><title>502 Bad Gateway</title></head>
+<body>
+<center><h1>502 Bad Gateway</h1></center>
+<hr><center>nginx/1.17.8 (no pool)</center>
+</body>
+</html>
get bar
-status: 200
+status: 502
exptime:
-Helloget foo
-status: 200
+<html>
+<head><title>502 Bad Gateway</title></head>
+<body>
+<center><h1>502 Bad Gateway</h1></center>
+<hr><center>nginx/1.17.8 (no pool)</center>
+</body>
+</html>
+get foo
+status: 502
exptime:
-Hello+<html>
+<head><title>502 Bad Gateway</title></head>
+<body>
+<center><h1>502 Bad Gateway</h1></center>
+<hr><center>nginx/1.17.8 (no pool)</center>
+</body>
+</html>
'
bugs.t TEST 4: zero buf when $memc_value is empty - status code ok got: '502'
expected: '201'
bugs.t TEST 4: zero buf when $memc_value is empty - response_body - response is expected (repeated req 0, req 0) got: '<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
'
expected: 'STORED
'
bugs.t TEST 4: zero buf when $memc_value is empty - status code ok got: '502'
expected: '201'
bugs.t TEST 4: zero buf when $memc_value is empty - response_body - response is expected (repeated req 1, req 0) got: '<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
'
expected: 'STORED
'
bugs.t TEST 4: zero buf when $memc_value is empty - status code ok got: '502'
expected: '201'
bugs.t TEST 4: zero buf when $memc_value is empty - response_body - response is expected (repeated req 2, req 0) got: '<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
'
expected: 'STORED
'
bugs.t TEST 5: zero buf when $memc_value is empty - status code ok got: '502'
expected: '201'
bugs.t TEST 5: zero buf when $memc_value is empty - response_body - response is expected (repeated req 0, req 0) got: '<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
'
expected: 'STORED
'
bugs.t TEST 5: zero buf when $memc_value is empty - status code ok got: '502'
expected: '201'
bugs.t TEST 5: zero buf when $memc_value is empty - response_body - response is expected (repeated req 1, req 0) got: '<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
'
expected: 'STORED
'
bugs.t TEST 5: zero buf when $memc_value is empty - status code ok got: '502'
expected: '201'
bugs.t TEST 5: zero buf when $memc_value is empty - response_body - response is expected (repeated req 2, req 0) got: '<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
'
expected: 'STORED
'
bugs.t TEST 6: set too long keys - response_body - response is expected (repeated req 0, req 0) got: '<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
'
expected: 'CLIENT_ERROR bad command line format
'
bugs.t TEST 6: set too long keys - response_body - response is expected (repeated req 1, req 0) got: '<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
'
expected: 'CLIENT_ERROR bad command line format
'
bugs.t TEST 6: set too long keys - response_body - response is expected (repeated req 2, req 0) got: '<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
'
expected: 'CLIENT_ERROR bad command line format
'
cmd.t TEST 8: $memc_cmd has its default values when it's an empty string - response_body - response is expected (repeated req 0, req 0) got: "set big2\x{0a}<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</tit"...
length: 352
expected: "set big2\x{0a}STORED\x{0d}\x{0a}get big2\x{0a}nice to meet you!"
length: 43
strings begin to differ at char 10 (line 2 column 1)
cmd.t TEST 5: explicit $memc_cmd in non-empty cmds_allowed list (in first) - status code ok got: '502'
expected: '200'
cmd.t TEST 5: explicit $memc_cmd in non-empty cmds_allowed list (in first) - response_body_like - response is expected (<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html>) '<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:^VERSION \d+(\.\d+)+.*?\r\n$)'
cmd.t TEST 4: explicit $memc_cmd in non-empty cmds_allowed list - status code ok got: '502'
expected: '200'
cmd.t TEST 4: explicit $memc_cmd in non-empty cmds_allowed list - response_body_like - response is expected (<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html>) '<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:^VERSION \d+(\.\d+)+.*?\r\n$)'
core-bugs.t TEST 1: bug in nginx core? (1) - status code ok got: '502'
expected: '201'
core-bugs.t TEST 1: bug in nginx core? (1) - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "STORED\x{0d}\x{0a}"
length: 8
strings begin to differ at char 1 (line 1 column 1)
core-bugs.t TEST 2: bug in nginx core? (2) - status code ok got: '502'
expected: '200'
core-bugs.t TEST 2: bug in nginx core? (2) - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "[["mafiaclans.eu", 12], ["picfu.net", 5], ["www.te"...
length: 207
strings begin to differ at char 1 (line 1 column 1)
delete.t TEST 2: set and delete and set - response_body_like - response is expected (set foo bar status: 502 exptime: 0 <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html> delete foo status: 502 exptime: <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html> get foo status: 502 exptime: <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html>) 'set foo bar
status: 502
exptime: 0
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
delete foo
status: 502
exptime:
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
get foo
status: 502
exptime:
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:^set foo bar
status: 201
exptime: 0
STORED\r
delete foo
status: 200
exptime:
DELETED\r
get foo
status: 404
exptime:
<html>.*?404 Not Found.*$
)'
delete.t TEST 1: delete non-existent item - response_body_like - response is expected (flush_all status: 502 exptime: <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html> delete foo status: 502 exptime: <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html>) 'flush_all
status: 502
exptime:
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
delete foo
status: 502
exptime:
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:^flush_all
status: 200
exptime:
OK\r
delete foo
status: 404
exptime:
<html>.*?404 Not Found.*$
)'
eval.t TEST 1: set in eval (NO subrequest in memory) - response_body - response is expected (repeated req 0, req 0) got: '[]
'
expected: '[STORED]
'
eval.t TEST 1: set in eval (NO subrequest in memory) - response_body - response is expected (repeated req 1, req 0) got: '[]
'
expected: '[STORED]
'
eval.t TEST 2: set in eval (subrequest in memory) - response_body - response is expected (repeated req 0, req 0) got: '[]
'
expected: '[STORED]
'
eval.t TEST 2: set in eval (subrequest in memory) - response_body - response is expected (repeated req 1, req 0) got: '[]
'
expected: '[STORED]
'
exptime.t TEST 1: set exptime - response_body_like - response is expected (flush_all status: 502 exptime: <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html> set foo BAR status: 502 exptime: 1 <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html> get foo - 0 sec status: 502 exptime: <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html> get foo - 1.1 sec status: 502 exptime: <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html>) 'flush_all
status: 502
exptime:
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
set foo BAR
status: 502
exptime: 1
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
get foo - 0 sec
status: 502
exptime:
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>

get foo - 1.1 sec
status: 502
exptime:
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:^flush_all
status: 200
exptime:
OK\r
set foo BAR
status: 201
exptime: 1
STORED\r
get foo - 0 sec
status: 200
exptime:
BAR
get foo - 1\.1 sec
status: 404
exptime:
<html>.*?404 Not Found.*$
)'
exptime.t TEST 1: set exptime - response_body_like - response is expected (flush_all status: 502 exptime: <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html> set foo BAR status: 502 exptime: 1 <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html> get foo - 0 sec status: 502 exptime: <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html> get foo - 1.1 sec status: 502 exptime: <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html>) 'flush_all
status: 502
exptime:
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
set foo BAR
status: 502
exptime: 1
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
get foo - 0 sec
status: 502
exptime:
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>

get foo - 1.1 sec
status: 502
exptime:
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:^flush_all
status: 200
exptime:
OK\r
set foo BAR
status: 201
exptime: 1
STORED\r
get foo - 0 sec
status: 200
exptime:
BAR
get foo - 1\.1 sec
status: 404
exptime:
<html>.*?404 Not Found.*$
)'
exptime.t TEST 2: test empty flags (default to 0) - response_body - response is expected (repeated req 0, req 0) got: ...")\x{0a}status: 502\x{0a}exptime: 0\x{0a}<html>\x{0d}\x{0a}<head><title>502 "...
length: 416
expected: ...")\x{0a}status: 201\x{0a}exptime: 0\x{0a}STORED\x{0d}\x{0a}get foo\x{0a}status: 2"...
length: 93
strings begin to differ at char 38 (line 2 column 9)
exptime.t TEST 2: test empty flags (default to 0) - response_body - response is expected (repeated req 1, req 0) got: ...")\x{0a}status: 502\x{0a}exptime: 0\x{0a}<html>\x{0d}\x{0a}<head><title>502 "...
length: 416
expected: ...")\x{0a}status: 201\x{0a}exptime: 0\x{0a}STORED\x{0d}\x{0a}get foo\x{0a}status: 2"...
length: 93
strings begin to differ at char 38 (line 2 column 9)
flags.t TEST 1: set flags and get flags - response_body - response is expected (repeated req 0, req 0) got: ...")\x{0a}status: 502\x{0a}flags: 1234567890\x{0a}<html>\x{0d}\x{0a}<head><tit"...
length: 423
expected: ...")\x{0a}status: 201\x{0a}flags: 1234567890\x{0a}STORED\x{0d}\x{0a}get foo\x{0a}st"...
length: 110
strings begin to differ at char 40 (line 2 column 9)
flags.t TEST 1: set flags and get flags - response_body - response is expected (repeated req 1, req 0) got: ...")\x{0a}status: 502\x{0a}flags: 1234567890\x{0a}<html>\x{0d}\x{0a}<head><tit"...
length: 423
expected: ...")\x{0a}status: 201\x{0a}flags: 1234567890\x{0a}STORED\x{0d}\x{0a}get foo\x{0a}st"...
length: 110
strings begin to differ at char 40 (line 2 column 9)
flags.t TEST 2: test empty flags (default to 0) - response_body - response is expected (repeated req 0, req 0) got: ...")\x{0a}status: 502\x{0a}flags: 0\x{0a}<html>\x{0d}\x{0a}<head><title>502 Ba"...
length: 409
expected: ...")\x{0a}status: 201\x{0a}flags: 0\x{0a}STORED\x{0d}\x{0a}get foo\x{0a}status: 200"...
length: 87
strings begin to differ at char 35 (line 2 column 9)
flags.t TEST 2: test empty flags (default to 0) - response_body - response is expected (repeated req 1, req 0) got: ...")\x{0a}status: 502\x{0a}flags: 0\x{0a}<html>\x{0d}\x{0a}<head><title>502 Ba"...
length: 409
expected: ...")\x{0a}status: 201\x{0a}flags: 0\x{0a}STORED\x{0d}\x{0a}get foo\x{0a}status: 200"...
length: 87
strings begin to differ at char 35 (line 2 column 9)
flags.t TEST 3: test empty flags (default to 0) (another form) - response_body - response is expected (repeated req 0, req 0) got: ...")\x{0a}status: 502\x{0a}flags: 0\x{0a}<html>\x{0d}\x{0a}<head><title>502 Ba"...
length: 409
expected: ...")\x{0a}status: 201\x{0a}flags: 0\x{0a}STORED\x{0d}\x{0a}get foo\x{0a}status: 200"...
length: 87
strings begin to differ at char 35 (line 2 column 9)
flags.t TEST 3: test empty flags (default to 0) (another form) - response_body - response is expected (repeated req 1, req 0) got: ...")\x{0a}status: 502\x{0a}flags: 0\x{0a}<html>\x{0d}\x{0a}<head><title>502 Ba"...
length: 409
expected: ...")\x{0a}status: 201\x{0a}flags: 0\x{0a}STORED\x{0d}\x{0a}get foo\x{0a}status: 200"...
length: 87
strings begin to differ at char 35 (line 2 column 9)
flags.t TEST 4: add flags and get flags - response_body - response is expected (repeated req 0, req 0) got: ..."l\x{0a}status: 502\x{0a}flags: \x{0a}<html>\x{0d}\x{0a}<head><title>502 Bad"...
length: 610
expected: ..."l\x{0a}status: 200\x{0a}flags: \x{0a}OK\x{0d}\x{0a}add foo BAR (flag: 54321"...
length: 129
strings begin to differ at char 19 (line 2 column 9)
flags.t TEST 4: add flags and get flags - response_body - response is expected (repeated req 1, req 0) got: ..."l\x{0a}status: 502\x{0a}flags: \x{0a}<html>\x{0d}\x{0a}<head><title>502 Bad"...
length: 610
expected: ..."l\x{0a}status: 200\x{0a}flags: \x{0a}OK\x{0d}\x{0a}add foo BAR (flag: 54321"...
length: 129
strings begin to differ at char 19 (line 2 column 9)
flags.t TEST 7: set flags and get flags in http time - response_body - response is expected (repeated req 0, req 0) got: ...")\x{0a}status: 502\x{0a}flags: 1264680563 Thu, 28 Jan 2010 1"...
length: 454
expected: ...")\x{0a}status: 201\x{0a}flags: 1264680563 Thu, 28 Jan 2010 1"...
length: 170
strings begin to differ at char 40 (line 2 column 9)
flags.t TEST 7: set flags and get flags in http time - response_body - response is expected (repeated req 1, req 0) got: ...")\x{0a}status: 502\x{0a}flags: 1264680563 Thu, 28 Jan 2010 1"...
length: 454
expected: ...")\x{0a}status: 201\x{0a}flags: 1264680563 Thu, 28 Jan 2010 1"...
length: 170
strings begin to differ at char 40 (line 2 column 9)
flags.t TEST 9: last-modified (unconditional GET) - status code ok got: '502'
expected: '200'
flags.t TEST 9: last-modified (unconditional GET) - header Last-Modified ok got: ''
expected: 'Thu, 28 Jan 2010 12:09:23 GMT'
flags.t TEST 9: last-modified (unconditional GET) - header X-Flags ok got: ''
expected: '1264680563'
flags.t TEST 9: last-modified (unconditional GET) - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "BAR"
length: 3
strings begin to differ at char 1 (line 1 column 1)
flags.t TEST 9: last-modified (unconditional GET) - status code ok got: '502'
expected: '200'
flags.t TEST 9: last-modified (unconditional GET) - header Last-Modified ok got: ''
expected: 'Thu, 28 Jan 2010 12:09:23 GMT'
flags.t TEST 9: last-modified (unconditional GET) - header X-Flags ok got: ''
expected: '1264680563'
flags.t TEST 9: last-modified (unconditional GET) - response_body - response is expected (repeated req 1, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "BAR"
length: 3
strings begin to differ at char 1 (line 1 column 1)
flush-all.t TEST 3: set exptime - response_body_like - response is expected (flush_all status: 502 exptime: <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html> set foo BAR status: 502 exptime: 0 <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html> flush_all exptime=2 status: 502 exptime: 2 <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html> get foo - 0 sec status: 502 exptime: <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html> get foo - 2 sec status: 502 exptime: <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html>) 'flush_all
status: 502
exptime:
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
set foo BAR
status: 502
exptime: 0
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
flush_all exptime=2
status: 502
exptime: 2
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
get foo - 0 sec
status: 502
exptime:
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>

get foo - 2 sec
status: 502
exptime:
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:flush_all
status: 200
exptime:
OK\r
set foo BAR
status: 201
exptime: 0
STORED\r
flush_all exptime=2
status: 200
exptime: 2
OK\r
get foo - 0 sec
status: 200
exptime:
BAR
get foo - 2 sec
status: 404
exptime:
<html>.*?404 Not Found.*$
)'
flush-all.t TEST 2: set and flush and get - response_body_like - response is expected (set foo blah status: 502 <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html> flush_all status: 502 <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html> get foo status: 502 <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html>) 'set foo blah
status: 502
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
flush_all
status: 502
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
get foo
status: 502
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:^set foo blah
status: 201
STORED\r
flush_all
status: 200
OK\r
get foo
status: 404.*?404 Not Found.*$
)'
flush-all.t TEST 1: flush_all - status code ok got: '502'
expected: '200'
flush-all.t TEST 1: flush_all - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "OK\x{0d}\x{0a}"
length: 4
strings begin to differ at char 1 (line 1 column 1)
if.t TEST 1: bad cmd - status code ok got: '502'
expected: '200'
if.t TEST 1: bad cmd - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "OK\x{0d}\x{0a}"
length: 4
strings begin to differ at char 1 (line 1 column 1)
if.t TEST 1: bad cmd - pattern "[error]" should not match any line in error.log but matches line "2020/09/28 10:52:13 [error] 20624\#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: localhost, request: \"GET /foo HTTP/1.1\", upstream: \"memcached://127.0.0.1:11211\", host: \"localhost\"" (req 0) 2020/09/28 10:52:13 [debug] 20624\#0: *1 http next upstream, 2
2020/09/28 10:52:13 [debug] 20624\#0: *1 free rr peer 1 4
2020/09/28 10:52:13 [debug] 20624\#0: *1 finalize http upstream request: 502
2020/09/28 10:52:13 [debug] 20624\#0: *1 finalize http memcached request
2020/09/28 10:52:13 [debug] 20624\#0: *1 close http upstream connection: 10
2020/09/28 10:52:13 [debug] 20624\#0: *1 event timer del: 10: 14718846
2020/09/28 10:52:13 [debug] 20624\#0: *1 reusable connection: 0
2020/09/28 10:52:13 [debug] 20624\#0: *1 http finalize request: 502, "/foo?" a:1, c:1
2020/09/28 10:52:13 [debug] 20624\#0: *1 http special response: 502, "/foo?"
'
incr-decr.t TEST 5: incr - response_body - response is expected (repeated req 0, req 0) got: ..."2\x{0a}status: 502\x{0a}exptime: 0\x{0a}<html>\x{0d}\x{0a}<head><title>502 "...
length: 595
expected: ..."2\x{0a}status: 201\x{0a}exptime: 0\x{0a}STORED\x{0d}\x{0a}incr 51\x{0a}status: 2"...
length: 108
strings begin to differ at char 20 (line 2 column 9)
incr-decr.t TEST 5: incr - response_body - response is expected (repeated req 1, req 0) got: ..."2\x{0a}status: 502\x{0a}exptime: 0\x{0a}<html>\x{0d}\x{0a}<head><title>502 "...
length: 595
expected: ..."2\x{0a}status: 201\x{0a}exptime: 0\x{0a}STORED\x{0d}\x{0a}incr 51\x{0a}status: 2"...
length: 108
strings begin to differ at char 20 (line 2 column 9)
incr-decr.t TEST 8: decr - response_body - response is expected (repeated req 0, req 0) got: ..."2\x{0a}status: 502\x{0a}exptime: 0\x{0a}<html>\x{0d}\x{0a}<head><title>502 "...
length: 595
expected: ..."2\x{0a}status: 201\x{0a}exptime: 0\x{0a}STORED\x{0d}\x{0a}decr 13\x{0a}status: 2"...
length: 108
strings begin to differ at char 20 (line 2 column 9)
incr-decr.t TEST 8: decr - response_body - response is expected (repeated req 1, req 0) got: ..."2\x{0a}status: 502\x{0a}exptime: 0\x{0a}<html>\x{0d}\x{0a}<head><title>502 "...
length: 595
expected: ..."2\x{0a}status: 201\x{0a}exptime: 0\x{0a}STORED\x{0d}\x{0a}decr 13\x{0a}status: 2"...
length: 108
strings begin to differ at char 20 (line 2 column 9)
incr-decr.t TEST 6: decr - response_body - response is expected (repeated req 0, req 0) got: ..."2\x{0a}status: 502\x{0a}exptime: 0\x{0a}<html>\x{0d}\x{0a}<head><title>502 "...
length: 595
expected: ..."2\x{0a}status: 201\x{0a}exptime: 0\x{0a}STORED\x{0d}\x{0a}decr 13\x{0a}status: 2"...
length: 108
strings begin to differ at char 20 (line 2 column 9)
incr-decr.t TEST 6: decr - response_body - response is expected (repeated req 1, req 0) got: ..."2\x{0a}status: 502\x{0a}exptime: 0\x{0a}<html>\x{0d}\x{0a}<head><title>502 "...
length: 595
expected: ..."2\x{0a}status: 201\x{0a}exptime: 0\x{0a}STORED\x{0d}\x{0a}decr 13\x{0a}status: 2"...
length: 108
strings begin to differ at char 20 (line 2 column 9)
incr-decr.t TEST 7: incr an non-existent key - response_body_like - response is expected (flush all status: 502 exptime: <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html> incr 51 status: 502 exptime: <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html>) 'flush all
status: 502
exptime:
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
incr 51
status: 502
exptime:
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:^flush all
status: 200
exptime:
OK\r
incr 51
status: 404
exptime:
<html>.*?404 Not Found.*$
)'
incr-decr.t TEST 7: incr an non-existent key - response_body_like - response is expected (flush all status: 502 exptime: <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html> incr 51 status: 502 exptime: <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html>) 'flush all
status: 502
exptime:
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
incr 51
status: 502
exptime:
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:^flush all
status: 200
exptime:
OK\r
incr 51
status: 404
exptime:
<html>.*?404 Not Found.*$
)'
incr-decr.t TEST 9: incr an non-existent key (with fallback) - response_body - response is expected (repeated req 0, req 0) got: ..."l\x{0a}status: 502\x{0a}exptime: \x{0a}<html>\x{0d}\x{0a}<head><title>502 B"...
length: 396
expected: ..."l\x{0a}status: 200\x{0a}exptime: \x{0a}OK\x{0d}\x{0a}incr 51\x{0a}status: 201\x{0a}ex"...
length: 101
strings begin to differ at char 19 (line 2 column 9)
incr-decr.t TEST 9: incr an non-existent key (with fallback) - response_body - response is expected (repeated req 1, req 0) got: ..."l\x{0a}status: 502\x{0a}exptime: \x{0a}<html>\x{0d}\x{0a}<head><title>502 B"...
length: 396
expected: ..."l\x{0a}status: 200\x{0a}exptime: \x{0a}OK\x{0d}\x{0a}incr 51\x{0a}status: 201\x{0a}ex"...
length: 101
strings begin to differ at char 19 (line 2 column 9)
keepalive.t TEST 1: keepalive - status code ok got: '502'
expected: '201'
keepalive.t TEST 1: keepalive - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "STORED\x{0d}\x{0a}"
length: 8
strings begin to differ at char 1 (line 1 column 1)
keepalive.t TEST 1: keepalive - status code ok got: '502'
expected: '201'
keepalive.t TEST 1: keepalive - response_body - response is expected (repeated req 1, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "STORED\x{0d}\x{0a}"
length: 8
strings begin to differ at char 1 (line 1 column 1)
keepalive.t TEST 1: keepalive - status code ok got: '502'
expected: '201'
keepalive.t TEST 1: keepalive - response_body - response is expected (repeated req 2, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "STORED\x{0d}\x{0a}"
length: 8
strings begin to differ at char 1 (line 1 column 1)
keepalive/incr-decr.t TEST 5: incr - response_body - response is expected (repeated req 0, req 0) got: ..."2\x{0a}status: 502\x{0a}exptime: 0\x{0a}<html>\x{0d}\x{0a}<head><title>502 "...
length: 595
expected: ..."2\x{0a}status: 201\x{0a}exptime: 0\x{0a}STORED\x{0d}\x{0a}incr 51\x{0a}status: 2"...
length: 108
strings begin to differ at char 20 (line 2 column 9)
keepalive/incr-decr.t TEST 5: incr - response_body - response is expected (repeated req 1, req 0) got: ..."2\x{0a}status: 502\x{0a}exptime: 0\x{0a}<html>\x{0d}\x{0a}<head><title>502 "...
length: 595
expected: ..."2\x{0a}status: 201\x{0a}exptime: 0\x{0a}STORED\x{0d}\x{0a}incr 51\x{0a}status: 2"...
length: 108
strings begin to differ at char 20 (line 2 column 9)
keepalive/incr-decr.t TEST 6: decr - response_body - response is expected (repeated req 0, req 0) got: ..."2\x{0a}status: 502\x{0a}exptime: 0\x{0a}<html>\x{0d}\x{0a}<head><title>502 "...
length: 595
expected: ..."2\x{0a}status: 201\x{0a}exptime: 0\x{0a}STORED\x{0d}\x{0a}decr 13\x{0a}status: 2"...
length: 108
strings begin to differ at char 20 (line 2 column 9)
keepalive/incr-decr.t TEST 6: decr - response_body - response is expected (repeated req 1, req 0) got: ..."2\x{0a}status: 502\x{0a}exptime: 0\x{0a}<html>\x{0d}\x{0a}<head><title>502 "...
length: 595
expected: ..."2\x{0a}status: 201\x{0a}exptime: 0\x{0a}STORED\x{0d}\x{0a}decr 13\x{0a}status: 2"...
length: 108
strings begin to differ at char 20 (line 2 column 9)
keepalive/incr-decr.t TEST 8: decr - response_body - response is expected (repeated req 0, req 0) got: ..."2\x{0a}status: 502\x{0a}exptime: 0\x{0a}<html>\x{0d}\x{0a}<head><title>502 "...
length: 595
expected: ..."2\x{0a}status: 201\x{0a}exptime: 0\x{0a}STORED\x{0d}\x{0a}decr 13\x{0a}status: 2"...
length: 108
strings begin to differ at char 20 (line 2 column 9)
keepalive/incr-decr.t TEST 8: decr - response_body - response is expected (repeated req 1, req 0) got: ..."2\x{0a}status: 502\x{0a}exptime: 0\x{0a}<html>\x{0d}\x{0a}<head><title>502 "...
length: 595
expected: ..."2\x{0a}status: 201\x{0a}exptime: 0\x{0a}STORED\x{0d}\x{0a}decr 13\x{0a}status: 2"...
length: 108
strings begin to differ at char 20 (line 2 column 9)
keepalive/incr-decr.t TEST 9: incr an non-existent key (with fallback) - response_body - response is expected (repeated req 0, req 0) got: ..."l\x{0a}status: 502\x{0a}exptime: \x{0a}<html>\x{0d}\x{0a}<head><title>502 B"...
length: 396
expected: ..."l\x{0a}status: 200\x{0a}exptime: \x{0a}OK\x{0d}\x{0a}incr 51\x{0a}status: 201\x{0a}ex"...
length: 101
strings begin to differ at char 19 (line 2 column 9)
keepalive/incr-decr.t TEST 9: incr an non-existent key (with fallback) - response_body - response is expected (repeated req 1, req 0) got: ..."l\x{0a}status: 502\x{0a}exptime: \x{0a}<html>\x{0d}\x{0a}<head><title>502 B"...
length: 396
expected: ..."l\x{0a}status: 200\x{0a}exptime: \x{0a}OK\x{0d}\x{0a}incr 51\x{0a}status: 201\x{0a}ex"...
length: 101
strings begin to differ at char 19 (line 2 column 9)
keepalive/incr-decr.t TEST 7: incr an non-existent key - response_body_like - response is expected (flush all status: 502 exptime: <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html> incr 51 status: 502 exptime: <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html>) 'flush all
status: 502
exptime:
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
incr 51
status: 502
exptime:
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:^flush all
status: 200
exptime:
OK\r
incr 51
status: 404
exptime:
<html>.*?404 Not Found.*$
)'
keepalive/incr-decr.t TEST 7: incr an non-existent key - response_body_like - response is expected (flush all status: 502 exptime: <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html> incr 51 status: 502 exptime: <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html>) 'flush all
status: 502
exptime:
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
incr 51
status: 502
exptime:
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:^flush all
status: 200
exptime:
OK\r
incr 51
status: 404
exptime:
<html>.*?404 Not Found.*$
)'
keepalive/storage.t TEST 16: test prepend (not stored) - response_body_like - response is expected (flush all status: 502 <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html> prepend foo world, status: 502 <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html> get foo status: 502 <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html>) 'flush all
status: 502
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
prepend foo world,
status: 502
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
get foo
status: 502
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:flush all
status: 200
OK\r
prepend foo world,
status: 200
NOT_STORED\r
get foo
status: 404.*?404 Not Found.*$
)'
keepalive/storage.t TEST 16: test prepend (not stored) - response_body_like - response is expected (flush all status: 502 <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html> prepend foo world, status: 502 <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html> get foo status: 502 <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html>) 'flush all
status: 502
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
prepend foo world,
status: 502
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
get foo
status: 502
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:flush all
status: 200
OK\r
prepend foo world,
status: 200
NOT_STORED\r
get foo
status: 404.*?404 Not Found.*$
)'
keepalive/storage.t TEST 6: set using POST - response_body - response is expected (repeated req 0, req 0) got: ..."l\x{0a}status: 502\x{0a}<html>\x{0d}\x{0a}<head><title>502 Bad Gateway"...
length: 563
expected: ..."l\x{0a}status: 200\x{0a}OK\x{0d}\x{0a}set foo\x{0a}status: 201\x{0a}STORED\x{0d}\x{0a}get "...
length: 86
strings begin to differ at char 19 (line 2 column 9)
keepalive/storage.t TEST 6: set using POST - response_body - response is expected (repeated req 1, req 0) got: ..."l\x{0a}status: 502\x{0a}<html>\x{0d}\x{0a}<head><title>502 Bad Gateway"...
length: 563
expected: ..."l\x{0a}status: 200\x{0a}OK\x{0d}\x{0a}set foo\x{0a}status: 201\x{0a}STORED\x{0d}\x{0a}get "...
length: 86
strings begin to differ at char 19 (line 2 column 9)
keepalive/storage.t TEST 13: test append (stored) - response_body - response is expected (repeated req 0, req 0) got: ..."l\x{0a}status: 502\x{0a}<html>\x{0d}\x{0a}<head><title>502 Bad Gateway"...
length: 766
expected: ..."l\x{0a}status: 200\x{0a}OK\x{0d}\x{0a}add foo hello\x{0a}status: 201\x{0a}STORED"...
length: 129
strings begin to differ at char 19 (line 2 column 9)
keepalive/storage.t TEST 13: test append (stored) - response_body - response is expected (repeated req 1, req 0) got: ..."l\x{0a}status: 502\x{0a}<html>\x{0d}\x{0a}<head><title>502 Bad Gateway"...
length: 766
expected: ..."l\x{0a}status: 200\x{0a}OK\x{0d}\x{0a}add foo hello\x{0a}status: 201\x{0a}STORED"...
length: 129
strings begin to differ at char 19 (line 2 column 9)
keepalive/storage.t TEST 17: set and get big value - response_body - response is expected (repeated req 0, req 0) got: "set big\x{0a}<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</titl"...
length: 350
expected: "set big\x{0a}STORED\x{0d}\x{0a}get big\x{0a}aaaaaaaaaaaaaaaaaaaaaaaaaa"...
length: 1051
strings begin to differ at char 9 (line 2 column 1)
keepalive/storage.t TEST 17: set and get big value - response_body - response is expected (repeated req 1, req 0) got: "set big\x{0a}<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</titl"...
length: 350
expected: "set big\x{0a}STORED\x{0d}\x{0a}get big\x{0a}aaaaaaaaaaaaaaaaaaaaaaaaaa"...
length: 1051
strings begin to differ at char 9 (line 2 column 1)
keepalive/storage.t TEST 12: test replace (not stored) - response_body_like - response is expected (flush all status: 502 <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html> replace foo bah status: 502 <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html> get foo status: 502 <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html>) 'flush all
status: 502
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
replace foo bah
status: 502
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
get foo
status: 502
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:flush all
status: 200
OK\r
replace foo bah
status: 200
NOT_STORED\r
get foo
status: 404.*?404 Not Found.*$
)'
keepalive/storage.t TEST 12: test replace (not stored) - response_body_like - response is expected (flush all status: 502 <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html> replace foo bah status: 502 <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html> get foo status: 502 <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html>) 'flush all
status: 502
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
replace foo bah
status: 502
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
get foo
status: 502
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:flush all
status: 200
OK\r
replace foo bah
status: 200
NOT_STORED\r
get foo
status: 404.*?404 Not Found.*$
)'
keepalive/storage.t TEST 5: add - response_body - response is expected (repeated req 0, req 0) got: ..."l\x{0a}status: 502\x{0a}<html>\x{0d}\x{0a}<head><title>502 Bad Gateway"...
length: 568
expected: ..."l\x{0a}status: 200\x{0a}OK\x{0d}\x{0a}add foo blah\x{0a}status: 201\x{0a}STORED\x{0d}"...
length: 84
strings begin to differ at char 19 (line 2 column 9)
keepalive/storage.t TEST 5: add - response_body - response is expected (repeated req 1, req 0) got: ..."l\x{0a}status: 502\x{0a}<html>\x{0d}\x{0a}<head><title>502 Bad Gateway"...
length: 568
expected: ..."l\x{0a}status: 200\x{0a}OK\x{0d}\x{0a}add foo blah\x{0a}status: 201\x{0a}STORED\x{0d}"...
length: 84
strings begin to differ at char 19 (line 2 column 9)
keepalive/storage.t TEST 8: default REST interface when no $memc_cmd is set (read client req body) - response_body - response is expected (repeated req 0, req 0) got: ...">\x{0a}status: 502\x{0a}<html>\x{0d}\x{0a}<head><title>502 Bad Gateway"...
length: 772
expected: ...">\x{0a}status: 201\x{0a}STORED\x{0d}\x{0a}get foo\x{0a}status: 200\x{0a}rock\x{0a}set"...
length: 127
strings begin to differ at char 35 (line 2 column 9)
keepalive/storage.t TEST 8: default REST interface when no $memc_cmd is set (read client req body) - response_body - response is expected (repeated req 1, req 0) got: ...">\x{0a}status: 502\x{0a}<html>\x{0d}\x{0a}<head><title>502 Bad Gateway"...
length: 772
expected: ...">\x{0a}status: 201\x{0a}STORED\x{0d}\x{0a}get foo\x{0a}status: 200\x{0a}rock\x{0a}set"...
length: 127
strings begin to differ at char 35 (line 2 column 9)
keepalive/storage.t TEST 7: default REST interface when no $memc_cmd is set - response_body - response is expected (repeated req 0, req 0) got: ..."O\x{0a}status: 502\x{0a}<html>\x{0d}\x{0a}<head><title>502 Bad Gateway"...
length: 758
expected: ..."O\x{0a}status: 201\x{0a}STORED\x{0d}\x{0a}get foo\x{0a}status: 200\x{0a}FOO\x{0a}set "...
length: 112
strings begin to differ at char 21 (line 2 column 9)
keepalive/storage.t TEST 7: default REST interface when no $memc_cmd is set - response_body - response is expected (repeated req 1, req 0) got: ..."O\x{0a}status: 502\x{0a}<html>\x{0d}\x{0a}<head><title>502 Bad Gateway"...
length: 758
expected: ..."O\x{0a}status: 201\x{0a}STORED\x{0d}\x{0a}get foo\x{0a}status: 200\x{0a}FOO\x{0a}set "...
length: 112
strings begin to differ at char 21 (line 2 column 9)
keepalive/storage.t TEST 11: test replace (stored) (with sleep) - response_body - response is expected (repeated req 0, req 0) got: ..."l\x{0a}status: 502\x{0a}<html>\x{0d}\x{0a}<head><title>502 Bad Gateway"...
length: 763
expected: ..."l\x{0a}status: 200\x{0a}OK\x{0d}\x{0a}add foo blah\x{0a}status: 201\x{0a}STORED\x{0d}"...
length: 118
strings begin to differ at char 19 (line 2 column 9)
keepalive/storage.t TEST 11: test replace (stored) (with sleep) - response_body - response is expected (repeated req 1, req 0) got: ..."l\x{0a}status: 502\x{0a}<html>\x{0d}\x{0a}<head><title>502 Bad Gateway"...
length: 763
expected: ..."l\x{0a}status: 200\x{0a}OK\x{0d}\x{0a}add foo blah\x{0a}status: 201\x{0a}STORED\x{0d}"...
length: 118
strings begin to differ at char 19 (line 2 column 9)
keepalive/storage.t TEST 2: set and get - response_body - response is expected (repeated req 0, req 0) got: ..." foo blah\x{0a}<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</ti"...
length: 355
expected: "set foo blah\x{0a}STORED\x{0d}\x{0a}get foo\x{0a}blah"
length: 33
strings begin to differ at char 14 (line 2 column 1)
keepalive/storage.t TEST 2: set and get - response_body - response is expected (repeated req 1, req 0) got: ..." foo blah\x{0a}<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</ti"...
length: 355
expected: "set foo blah\x{0a}STORED\x{0d}\x{0a}get foo\x{0a}blah"
length: 33
strings begin to differ at char 14 (line 2 column 1)
keepalive/storage.t TEST 14: test append (not stored) - response_body_like - response is expected (flush all status: 502 <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html> append foo ,world status: 502 <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html> get foo status: 502 <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html>) 'flush all
status: 502
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
append foo ,world
status: 502
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
get foo
status: 502
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:flush all
status: 200
OK\r
append foo ,world
status: 200
NOT_STORED\r
get foo
status: 404.*?404 Not Found.*$
)'
keepalive/storage.t TEST 14: test append (not stored) - response_body_like - response is expected (flush all status: 502 <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html> append foo ,world status: 502 <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html> get foo status: 502 <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html>) 'flush all
status: 502
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
append foo ,world
status: 502
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
get foo
status: 502
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:flush all
status: 200
OK\r
append foo ,world
status: 200
NOT_STORED\r
get foo
status: 404.*?404 Not Found.*$
)'
keepalive/storage.t TEST 15: test prepend (stored) - response_body - response is expected (repeated req 0, req 0) got: ..."l\x{0a}status: 502\x{0a}<html>\x{0d}\x{0a}<head><title>502 Bad Gateway"...
length: 767
expected: ..."l\x{0a}status: 200\x{0a}OK\x{0d}\x{0a}add foo hello\x{0a}status: 201\x{0a}STORED"...
length: 130
strings begin to differ at char 19 (line 2 column 9)
keepalive/storage.t TEST 15: test prepend (stored) - response_body - response is expected (repeated req 1, req 0) got: ..."l\x{0a}status: 502\x{0a}<html>\x{0d}\x{0a}<head><title>502 Bad Gateway"...
length: 767
expected: ..."l\x{0a}status: 200\x{0a}OK\x{0d}\x{0a}add foo hello\x{0a}status: 201\x{0a}STORED"...
length: 130
strings begin to differ at char 19 (line 2 column 9)
keepalive/storage.t TEST 19: replace non-existent item - response_body - response is expected (repeated req 0, req 0) got: ..."l\x{0a}status: 502\x{0a}exptime: \x{0a}<html>\x{0d}\x{0a}<head><title>502 B"...
length: 405
expected: ..."l\x{0a}status: 200\x{0a}exptime: \x{0a}OK\x{0d}\x{0a}replace foo bar\x{0a}status"...
length: 87
strings begin to differ at char 19 (line 2 column 9)
keepalive/storage.t TEST 19: replace non-existent item - response_body - response is expected (repeated req 1, req 0) got: ..."l\x{0a}status: 502\x{0a}exptime: \x{0a}<html>\x{0d}\x{0a}<head><title>502 B"...
length: 405
expected: ..."l\x{0a}status: 200\x{0a}exptime: \x{0a}OK\x{0d}\x{0a}replace foo bar\x{0a}status"...
length: 87
strings begin to differ at char 19 (line 2 column 9)
keepalive/storage.t TEST 3: set UTF-8 and get UTF-8 - response_body - response is expected (repeated req 0, req 0) got: ..."oo \x{e4}\x{bd}\x{a0}\x{e5}\x{a5}\x{bd}\x{0a}<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</ti"...
length: 357
expected: "set foo \x{e4}\x{bd}\x{a0}\x{e5}\x{a5}\x{bd}\x{0a}STORED\x{0d}\x{0a}get foo\x{0a}\x{e4}\x{bd}\x{a0}\x{e5}\x{a5}\x{bd}"
length: 37
strings begin to differ at char 16 (line 2 column 1)
keepalive/storage.t TEST 3: set UTF-8 and get UTF-8 - response_body - response is expected (repeated req 1, req 0) got: ..."oo \x{e4}\x{bd}\x{a0}\x{e5}\x{a5}\x{bd}\x{0a}<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</ti"...
length: 357
expected: "set foo \x{e4}\x{bd}\x{a0}\x{e5}\x{a5}\x{bd}\x{0a}STORED\x{0d}\x{0a}get foo\x{0a}\x{e4}\x{bd}\x{a0}\x{e5}\x{a5}\x{bd}"
length: 37
strings begin to differ at char 16 (line 2 column 1)
keepalive/storage.t TEST 4: set and get empty values - response_body - response is expected (repeated req 0, req 0) got: "flush all\x{0a}<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</ti"...
length: 532
expected: "flush all\x{0a}OK\x{0d}\x{0a}set foo blah\x{0a}STORED\x{0d}\x{0a}get foo\x{0a}"
length: 43
strings begin to differ at char 11 (line 2 column 1)
keepalive/storage.t TEST 4: set and get empty values - response_body - response is expected (repeated req 1, req 0) got: "flush all\x{0a}<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</ti"...
length: 532
expected: "flush all\x{0a}OK\x{0d}\x{0a}set foo blah\x{0a}STORED\x{0d}\x{0a}get foo\x{0a}"
length: 43
strings begin to differ at char 11 (line 2 column 1)
keepalive/storage.t TEST 10: test replace (stored) (without sleep) - response_body - response is expected (repeated req 0, req 0) got: ..."l\x{0a}status: 502\x{0a}<html>\x{0d}\x{0a}<head><title>502 Bad Gateway"...
length: 763
expected: ..."l\x{0a}status: 200\x{0a}OK\x{0d}\x{0a}add foo blah\x{0a}status: 201\x{0a}STORED\x{0d}"...
length: 118
strings begin to differ at char 19 (line 2 column 9)
keepalive/storage.t TEST 10: test replace (stored) (without sleep) - response_body - response is expected (repeated req 1, req 0) got: ..."l\x{0a}status: 502\x{0a}<html>\x{0d}\x{0a}<head><title>502 Bad Gateway"...
length: 763
expected: ..."l\x{0a}status: 200\x{0a}OK\x{0d}\x{0a}add foo blah\x{0a}status: 201\x{0a}STORED\x{0d}"...
length: 118
strings begin to differ at char 19 (line 2 column 9)
keepalive/storage.t TEST 9: default REST interface when no $memc_cmd is set (read client req body) - response_body - response is expected (repeated req 0, req 0) got: ...">\x{0a}status: 502\x{0a}<html>\x{0d}\x{0a}<head><title>502 Bad Gateway"...
length: 772
expected: ...">\x{0a}status: 201\x{0a}STORED\x{0d}\x{0a}get foo\x{0a}status: 200\x{0a}howdy\x{0a}ad"...
length: 134
strings begin to differ at char 35 (line 2 column 9)
keepalive/storage.t TEST 9: default REST interface when no $memc_cmd is set (read client req body) - response_body - response is expected (repeated req 1, req 0) got: ...">\x{0a}status: 502\x{0a}<html>\x{0d}\x{0a}<head><title>502 Bad Gateway"...
length: 772
expected: ...">\x{0a}status: 201\x{0a}STORED\x{0d}\x{0a}get foo\x{0a}status: 200\x{0a}howdy\x{0a}ad"...
length: 134
strings begin to differ at char 35 (line 2 column 9)
keepalive/storage.t TEST 1: set only - status code ok got: '502'
expected: '201'
keepalive/storage.t TEST 1: set only - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "STORED\x{0d}\x{0a}"
length: 8
strings begin to differ at char 1 (line 1 column 1)
keepalive/storage.t TEST 1: set only - status code ok got: '502'
expected: '201'
keepalive/storage.t TEST 1: set only - response_body - response is expected (repeated req 1, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "STORED\x{0d}\x{0a}"
length: 8
strings begin to differ at char 1 (line 1 column 1)
stats.t TEST 1: sanity - status code ok got: '502'
expected: '200'
stats.t TEST 1: sanity - response_body_like - response is expected (<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html>) '<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:^(?:STAT [^\r]*\r\n)*END\r\n$)'
storage.t TEST 19: replace non-existent item - response_body - response is expected (repeated req 0, req 0) got: ..."l\x{0a}status: 502\x{0a}exptime: \x{0a}<html>\x{0d}\x{0a}<head><title>502 B"...
length: 405
expected: ..."l\x{0a}status: 200\x{0a}exptime: \x{0a}OK\x{0d}\x{0a}replace foo bar\x{0a}status"...
length: 87
strings begin to differ at char 19 (line 2 column 9)
storage.t TEST 19: replace non-existent item - response_body - response is expected (repeated req 1, req 0) got: ..."l\x{0a}status: 502\x{0a}exptime: \x{0a}<html>\x{0d}\x{0a}<head><title>502 B"...
length: 405
expected: ..."l\x{0a}status: 200\x{0a}exptime: \x{0a}OK\x{0d}\x{0a}replace foo bar\x{0a}status"...
length: 87
strings begin to differ at char 19 (line 2 column 9)
storage.t TEST 1: set only - status code ok got: '502'
expected: '201'
storage.t TEST 1: set only - response_body - response is expected (repeated req 0, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "STORED\x{0d}\x{0a}"
length: 8
strings begin to differ at char 1 (line 1 column 1)
storage.t TEST 1: set only - status code ok got: '502'
expected: '201'
storage.t TEST 1: set only - response_body - response is expected (repeated req 1, req 0) got: "<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</title></head"...
length: 167
expected: "STORED\x{0d}\x{0a}"
length: 8
strings begin to differ at char 1 (line 1 column 1)
storage.t TEST 13: test append (stored) - response_body - response is expected (repeated req 0, req 0) got: ..."l\x{0a}status: 502\x{0a}<html>\x{0d}\x{0a}<head><title>502 Bad Gateway"...
length: 766
expected: ..."l\x{0a}status: 200\x{0a}OK\x{0d}\x{0a}add foo hello\x{0a}status: 201\x{0a}STORED"...
length: 129
strings begin to differ at char 19 (line 2 column 9)
storage.t TEST 13: test append (stored) - response_body - response is expected (repeated req 1, req 0) got: ..."l\x{0a}status: 502\x{0a}<html>\x{0d}\x{0a}<head><title>502 Bad Gateway"...
length: 766
expected: ..."l\x{0a}status: 200\x{0a}OK\x{0d}\x{0a}add foo hello\x{0a}status: 201\x{0a}STORED"...
length: 129
strings begin to differ at char 19 (line 2 column 9)
storage.t TEST 11: test replace (stored) (with sleep) - response_body - response is expected (repeated req 0, req 0) got: ..."l\x{0a}status: 502\x{0a}<html>\x{0d}\x{0a}<head><title>502 Bad Gateway"...
length: 763
expected: ..."l\x{0a}status: 200\x{0a}OK\x{0d}\x{0a}add foo blah\x{0a}status: 201\x{0a}STORED\x{0d}"...
length: 118
strings begin to differ at char 19 (line 2 column 9)
storage.t TEST 11: test replace (stored) (with sleep) - response_body - response is expected (repeated req 1, req 0) got: ..."l\x{0a}status: 502\x{0a}<html>\x{0d}\x{0a}<head><title>502 Bad Gateway"...
length: 763
expected: ..."l\x{0a}status: 200\x{0a}OK\x{0d}\x{0a}add foo blah\x{0a}status: 201\x{0a}STORED\x{0d}"...
length: 118
strings begin to differ at char 19 (line 2 column 9)
storage.t TEST 5: add - response_body - response is expected (repeated req 0, req 0) got: ..."l\x{0a}status: 502\x{0a}<html>\x{0d}\x{0a}<head><title>502 Bad Gateway"...
length: 568
expected: ..."l\x{0a}status: 200\x{0a}OK\x{0d}\x{0a}add foo blah\x{0a}status: 201\x{0a}STORED\x{0d}"...
length: 84
strings begin to differ at char 19 (line 2 column 9)
storage.t TEST 5: add - response_body - response is expected (repeated req 1, req 0) got: ..."l\x{0a}status: 502\x{0a}<html>\x{0d}\x{0a}<head><title>502 Bad Gateway"...
length: 568
expected: ..."l\x{0a}status: 200\x{0a}OK\x{0d}\x{0a}add foo blah\x{0a}status: 201\x{0a}STORED\x{0d}"...
length: 84
strings begin to differ at char 19 (line 2 column 9)
storage.t TEST 6: set using POST - response_body - response is expected (repeated req 0, req 0) got: ..."l\x{0a}status: 502\x{0a}<html>\x{0d}\x{0a}<head><title>502 Bad Gateway"...
length: 563
expected: ..."l\x{0a}status: 200\x{0a}OK\x{0d}\x{0a}set foo\x{0a}status: 201\x{0a}STORED\x{0d}\x{0a}get "...
length: 86
strings begin to differ at char 19 (line 2 column 9)
storage.t TEST 6: set using POST - response_body - response is expected (repeated req 1, req 0) got: ..."l\x{0a}status: 502\x{0a}<html>\x{0d}\x{0a}<head><title>502 Bad Gateway"...
length: 563
expected: ..."l\x{0a}status: 200\x{0a}OK\x{0d}\x{0a}set foo\x{0a}status: 201\x{0a}STORED\x{0d}\x{0a}get "...
length: 86
strings begin to differ at char 19 (line 2 column 9)
storage.t TEST 4: set and get empty values - response_body - response is expected (repeated req 0, req 0) got: "flush all\x{0a}<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</ti"...
length: 532
expected: "flush all\x{0a}OK\x{0d}\x{0a}set foo blah\x{0a}STORED\x{0d}\x{0a}get foo\x{0a}"
length: 43
strings begin to differ at char 11 (line 2 column 1)
storage.t TEST 4: set and get empty values - response_body - response is expected (repeated req 1, req 0) got: "flush all\x{0a}<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</ti"...
length: 532
expected: "flush all\x{0a}OK\x{0d}\x{0a}set foo blah\x{0a}STORED\x{0d}\x{0a}get foo\x{0a}"
length: 43
strings begin to differ at char 11 (line 2 column 1)
storage.t TEST 16: test prepend (not stored) - response_body_like - response is expected (flush all status: 502 <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html> prepend foo world, status: 502 <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html> get foo status: 502 <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html>) 'flush all
status: 502
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
prepend foo world,
status: 502
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
get foo
status: 502
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:flush all
status: 200
OK\r
prepend foo world,
status: 200
NOT_STORED\r
get foo
status: 404.*?404 Not Found.*$
)'
storage.t TEST 16: test prepend (not stored) - response_body_like - response is expected (flush all status: 502 <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html> prepend foo world, status: 502 <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html> get foo status: 502 <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html>) 'flush all
status: 502
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
prepend foo world,
status: 502
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
get foo
status: 502
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:flush all
status: 200
OK\r
prepend foo world,
status: 200
NOT_STORED\r
get foo
status: 404.*?404 Not Found.*$
)'
storage.t TEST 15: test prepend (stored) - response_body - response is expected (repeated req 0, req 0) got: ..."l\x{0a}status: 502\x{0a}<html>\x{0d}\x{0a}<head><title>502 Bad Gateway"...
length: 767
expected: ..."l\x{0a}status: 200\x{0a}OK\x{0d}\x{0a}add foo hello\x{0a}status: 201\x{0a}STORED"...
length: 130
strings begin to differ at char 19 (line 2 column 9)
storage.t TEST 15: test prepend (stored) - response_body - response is expected (repeated req 1, req 0) got: ..."l\x{0a}status: 502\x{0a}<html>\x{0d}\x{0a}<head><title>502 Bad Gateway"...
length: 767
expected: ..."l\x{0a}status: 200\x{0a}OK\x{0d}\x{0a}add foo hello\x{0a}status: 201\x{0a}STORED"...
length: 130
strings begin to differ at char 19 (line 2 column 9)
storage.t TEST 12: test replace (not stored) - response_body_like - response is expected (flush all status: 502 <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html> replace foo bah status: 502 <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html> get foo status: 502 <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html>) 'flush all
status: 502
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
replace foo bah
status: 502
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
get foo
status: 502
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:flush all
status: 200
OK\r
replace foo bah
status: 200
NOT_STORED\r
get foo
status: 404.*?404 Not Found.*$
)'
storage.t TEST 12: test replace (not stored) - response_body_like - response is expected (flush all status: 502 <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html> replace foo bah status: 502 <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html> get foo status: 502 <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html>) 'flush all
status: 502
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
replace foo bah
status: 502
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
get foo
status: 502
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:flush all
status: 200
OK\r
replace foo bah
status: 200
NOT_STORED\r
get foo
status: 404.*?404 Not Found.*$
)'
storage.t TEST 17: set and get big value - response_body - response is expected (repeated req 0, req 0) got: "set big\x{0a}<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</titl"...
length: 350
expected: "set big\x{0a}STORED\x{0d}\x{0a}get big\x{0a}aaaaaaaaaaaaaaaaaaaaaaaaaa"...
length: 1051
strings begin to differ at char 9 (line 2 column 1)
storage.t TEST 17: set and get big value - response_body - response is expected (repeated req 1, req 0) got: "set big\x{0a}<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</titl"...
length: 350
expected: "set big\x{0a}STORED\x{0d}\x{0a}get big\x{0a}aaaaaaaaaaaaaaaaaaaaaaaaaa"...
length: 1051
strings begin to differ at char 9 (line 2 column 1)
storage.t TEST 2: set and get - response_body - response is expected (repeated req 0, req 0) got: ..." foo blah\x{0a}<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</ti"...
length: 355
expected: "set foo blah\x{0a}STORED\x{0d}\x{0a}get foo\x{0a}blah"
length: 33
strings begin to differ at char 14 (line 2 column 1)
storage.t TEST 2: set and get - response_body - response is expected (repeated req 1, req 0) got: ..." foo blah\x{0a}<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</ti"...
length: 355
expected: "set foo blah\x{0a}STORED\x{0d}\x{0a}get foo\x{0a}blah"
length: 33
strings begin to differ at char 14 (line 2 column 1)
storage.t TEST 7: default REST interface when no $memc_cmd is set - response_body - response is expected (repeated req 0, req 0) got: ..."O\x{0a}status: 502\x{0a}<html>\x{0d}\x{0a}<head><title>502 Bad Gateway"...
length: 758
expected: ..."O\x{0a}status: 201\x{0a}STORED\x{0d}\x{0a}get foo\x{0a}status: 200\x{0a}FOO\x{0a}set "...
length: 112
strings begin to differ at char 21 (line 2 column 9)
storage.t TEST 7: default REST interface when no $memc_cmd is set - response_body - response is expected (repeated req 1, req 0) got: ..."O\x{0a}status: 502\x{0a}<html>\x{0d}\x{0a}<head><title>502 Bad Gateway"...
length: 758
expected: ..."O\x{0a}status: 201\x{0a}STORED\x{0d}\x{0a}get foo\x{0a}status: 200\x{0a}FOO\x{0a}set "...
length: 112
strings begin to differ at char 21 (line 2 column 9)
storage.t TEST 21: set and get (binary data containing \0) - response_body - response is expected (repeated req 0, req 0) got: ..." foo blah\x{0a}<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</ti"...
length: 355
expected: "set foo blah\x{0a}STORED\x{0d}\x{0a}get foo\x{0a}blah\x{00}blah"
length: 38
strings begin to differ at char 14 (line 2 column 1)
storage.t TEST 21: set and get (binary data containing \0) - response_body - response is expected (repeated req 1, req 0) got: ..." foo blah\x{0a}<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</ti"...
length: 355
expected: "set foo blah\x{0a}STORED\x{0d}\x{0a}get foo\x{0a}blah\x{00}blah"
length: 38
strings begin to differ at char 14 (line 2 column 1)
storage.t TEST 8: default REST interface when no $memc_cmd is set (read client req body) - response_body - response is expected (repeated req 0, req 0) got: ...">\x{0a}status: 502\x{0a}<html>\x{0d}\x{0a}<head><title>502 Bad Gateway"...
length: 772
expected: ...">\x{0a}status: 201\x{0a}STORED\x{0d}\x{0a}get foo\x{0a}status: 200\x{0a}rock\x{0a}set"...
length: 127
strings begin to differ at char 35 (line 2 column 9)
storage.t TEST 8: default REST interface when no $memc_cmd is set (read client req body) - response_body - response is expected (repeated req 1, req 0) got: ...">\x{0a}status: 502\x{0a}<html>\x{0d}\x{0a}<head><title>502 Bad Gateway"...
length: 772
expected: ...">\x{0a}status: 201\x{0a}STORED\x{0d}\x{0a}get foo\x{0a}status: 200\x{0a}rock\x{0a}set"...
length: 127
strings begin to differ at char 35 (line 2 column 9)
storage.t TEST 10: test replace (stored) (without sleep) - response_body - response is expected (repeated req 0, req 0) got: ..."l\x{0a}status: 502\x{0a}<html>\x{0d}\x{0a}<head><title>502 Bad Gateway"...
length: 763
expected: ..."l\x{0a}status: 200\x{0a}OK\x{0d}\x{0a}add foo blah\x{0a}status: 201\x{0a}STORED\x{0d}"...
length: 118
strings begin to differ at char 19 (line 2 column 9)
storage.t TEST 10: test replace (stored) (without sleep) - response_body - response is expected (repeated req 1, req 0) got: ..."l\x{0a}status: 502\x{0a}<html>\x{0d}\x{0a}<head><title>502 Bad Gateway"...
length: 763
expected: ..."l\x{0a}status: 200\x{0a}OK\x{0d}\x{0a}add foo blah\x{0a}status: 201\x{0a}STORED\x{0d}"...
length: 118
strings begin to differ at char 19 (line 2 column 9)
storage.t TEST 14: test append (not stored) - response_body_like - response is expected (flush all status: 502 <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html> append foo ,world status: 502 <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html> get foo status: 502 <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html>) 'flush all
status: 502
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
append foo ,world
status: 502
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
get foo
status: 502
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:flush all
status: 200
OK\r
append foo ,world
status: 200
NOT_STORED\r
get foo
status: 404.*?404 Not Found.*$
)'
storage.t TEST 14: test append (not stored) - response_body_like - response is expected (flush all status: 502 <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html> append foo ,world status: 502 <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html> get foo status: 502 <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html>) 'flush all
status: 502
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
append foo ,world
status: 502
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
get foo
status: 502
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:flush all
status: 200
OK\r
append foo ,world
status: 200
NOT_STORED\r
get foo
status: 404.*?404 Not Found.*$
)'
storage.t TEST 9: default REST interface when no $memc_cmd is set (read client req body) - response_body - response is expected (repeated req 0, req 0) got: ...">\x{0a}status: 502\x{0a}<html>\x{0d}\x{0a}<head><title>502 Bad Gateway"...
length: 772
expected: ...">\x{0a}status: 201\x{0a}STORED\x{0d}\x{0a}get foo\x{0a}status: 200\x{0a}howdy\x{0a}ad"...
length: 134
strings begin to differ at char 35 (line 2 column 9)
storage.t TEST 9: default REST interface when no $memc_cmd is set (read client req body) - response_body - response is expected (repeated req 1, req 0) got: ...">\x{0a}status: 502\x{0a}<html>\x{0d}\x{0a}<head><title>502 Bad Gateway"...
length: 772
expected: ...">\x{0a}status: 201\x{0a}STORED\x{0d}\x{0a}get foo\x{0a}status: 200\x{0a}howdy\x{0a}ad"...
length: 134
strings begin to differ at char 35 (line 2 column 9)
storage.t TEST 3: set UTF-8 and get UTF-8 - response_body - response is expected (repeated req 0, req 0) got: ..."oo \x{e4}\x{bd}\x{a0}\x{e5}\x{a5}\x{bd}\x{0a}<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</ti"...
length: 357
expected: "set foo \x{e4}\x{bd}\x{a0}\x{e5}\x{a5}\x{bd}\x{0a}STORED\x{0d}\x{0a}get foo\x{0a}\x{e4}\x{bd}\x{a0}\x{e5}\x{a5}\x{bd}"
length: 37
strings begin to differ at char 16 (line 2 column 1)
storage.t TEST 3: set UTF-8 and get UTF-8 - response_body - response is expected (repeated req 1, req 0) got: ..."oo \x{e4}\x{bd}\x{a0}\x{e5}\x{a5}\x{bd}\x{0a}<html>\x{0d}\x{0a}<head><title>502 Bad Gateway</ti"...
length: 357
expected: "set foo \x{e4}\x{bd}\x{a0}\x{e5}\x{a5}\x{bd}\x{0a}STORED\x{0d}\x{0a}get foo\x{0a}\x{e4}\x{bd}\x{a0}\x{e5}\x{a5}\x{bd}"
length: 37
strings begin to differ at char 16 (line 2 column 1)
upstream.t TEST 1: sanity - status code ok got: '502'
expected: '200'
upstream.t TEST 1: sanity - response_body_like - response is expected (<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html>) '<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:^(?:STAT [^\r]*\r\n)*END\r\n$)'
upstream.t TEST 1: sanity - status code ok got: '502'
expected: '200'
upstream.t TEST 1: sanity - response_body_like - response is expected (<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html>) '<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:^(?:STAT [^\r]*\r\n)*END\r\n$)'
upstream.t TEST 3: sanity with dynamic backend - status code ok got: '502'
expected: '200'
upstream.t TEST 3: sanity with dynamic backend - response_body_like - response is expected (<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html>) '<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:^(?:STAT [^\r]*\r\n)*END\r\n$)'
upstream.t TEST 3: sanity with dynamic backend - status code ok got: '502'
expected: '200'
upstream.t TEST 3: sanity with dynamic backend - response_body_like - response is expected (<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html>) '<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:^(?:STAT [^\r]*\r\n)*END\r\n$)'
version.t TEST 1: the "version" command - status code ok got: '502'
expected: '200'
version.t TEST 1: the "version" command - response_body_like - response is expected (<html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.17.8 (no pool)</center> </body> </html>) '<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.17.8 (no pool)</center>
</body>
</html>
'
doesn't match '(?^s:^VERSION \d+(\.\d+)+.*?\r\n$)'

Expected Failures

(none)

Warnings

(none)

Go back to the index page.