Skip to content

Commit a86cc95

Browse files
Record fixtures
1 parent eeed18c commit a86cc95

File tree

14 files changed

+166
-166
lines changed

14 files changed

+166
-166
lines changed

internal/test_helpers/fixtures/auth/auth_always_nopass_flag

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ Debug = true
22

33
[tester::#UV9] Running tests for Stage #UV9 (uv9)
44
[tester::#UV9] $ ./spawn_redis_server.sh
5-
[your_program] Logs from your program will appear here!
6-
[your_program] This server always replies with 'nopass' flag present for ACL GETUSER. See commands.go:handleAclGetUser()
7-
[your_program] Redis server listening on 0.0.0.0:6379
5+
[your_program] Logs from your program will appear here!
6+
[your_program] This server always replies with 'nopass' flag present for ACL GETUSER. See commands.go:handleAclGetUser()
7+
[your_program] Redis server listening on 0.0.0.0:6379
88
[tester::#UV9] [client] $ redis-cli ACL GETUSER default
99
[tester::#UV9] [client] Sent bytes: "*3\r\n$3\r\nACL\r\n$7\r\nGETUSER\r\n$7\r\ndefault\r\n"
1010
[tester::#UV9] [client] Received bytes: "*4\r\n$5\r\nflags\r\n*1\r\n$6\r\nnopass\r\n$9\r\npasswords\r\n*0\r\n"

internal/test_helpers/fixtures/auth/auth_mistake_literal_password

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ Debug = true
22

33
[tester::#PL7] Running tests for Stage #PL7 (pl7)
44
[tester::#PL7] $ ./spawn_redis_server.sh
5-
[your_program] Logs from your program will appear here!
6-
[your_program] This server always replies "password" instead of "passwords" for ACL GETUSER. See command.go:handleAclGetUser()
7-
[your_program] Redis server listening on 0.0.0.0:6379
5+
[your_program] Logs from your program will appear here!
6+
[your_program] This server always replies "password" instead of "passwords" for ACL GETUSER. See command.go:handleAclGetUser()
7+
[your_program] Redis server listening on 0.0.0.0:6379
88
[tester::#PL7] [client] $ redis-cli ACL GETUSER default
99
[tester::#PL7] [client] Sent bytes: "*3\r\n$3\r\nACL\r\n$7\r\nGETUSER\r\n$7\r\ndefault\r\n"
1010
[tester::#PL7] [client] Received bytes: "*4\r\n$5\r\nflags\r\n*1\r\n$6\r\nnopass\r\n$8\r\npassword\r\n*0\r\n"

internal/test_helpers/fixtures/auth/auth_mistake_sha256

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ Debug = true
22

33
[tester::#UV9] Running tests for Stage #UV9 (uv9)
44
[tester::#UV9] $ ./spawn_redis_server.sh
5-
[your_program] Logs from your program will appear here!
6-
[your_program] This server always replies with an incorrect password hash in ACL GETUSER. See users.go:hashPassword()
7-
[your_program] Redis server listening on 0.0.0.0:6379
5+
[your_program] Logs from your program will appear here!
6+
[your_program] This server always replies with an incorrect password hash in ACL GETUSER. See users.go:hashPassword()
7+
[your_program] Redis server listening on 0.0.0.0:6379
88
[tester::#UV9] [client] $ redis-cli ACL GETUSER default
99
[tester::#UV9] [client] Sent bytes: "*3\r\n$3\r\nACL\r\n$7\r\nGETUSER\r\n$7\r\ndefault\r\n"
1010
[tester::#UV9] [client] Received bytes: "*4\r\n$5\r\nflags\r\n*1\r\n$6\r\nnopass\r\n$9\r\npasswords\r\n*0\r\n"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tester::#JM1] Running tests for Stage #JM1 (jm1)
22
[tester::#JM1] $ ./spawn_redis_server.sh
33
[tester::#JM1] Connecting to port 6379...
4-
[your_program] hey, not going to bind!
4+
[your_program] hey, not going to bind!
55
[tester::#JM1] Failed to connect to port 6379.
66
[tester::#JM1] Test failed

internal/test_helpers/fixtures/bind/success

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Debug = true
33
[tester::#JM1] Running tests for Stage #JM1 (jm1)
44
[tester::#JM1] $ ./spawn_redis_server.sh
55
[tester::#JM1] Connecting to port 6379...
6-
[your_program] hey, binding to 6379
6+
[your_program] hey, binding to 6379
77
[tester::#JM1] Connection successful
88
[tester::#JM1] Test passed.
99
[tester::#JM1] Terminating program

internal/test_helpers/fixtures/bind/timeout

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tester::#JM1] Running tests for Stage #JM1 (jm1)
22
[tester::#JM1] $ ./spawn_redis_server.sh
33
[tester::#JM1] Connecting to port 6379...
4-
[your_program] hey, not going to bind!
4+
[your_program] hey, not going to bind!
55
[tester::#JM1] Failed to connect to port 6379, retrying in 1s
66
[tester::#JM1] Failed to connect to port 6379, retrying in 1s
77
[tester::#JM1] Failed to connect to port 6379, retrying in 1s

internal/test_helpers/fixtures/geospatial/pass

Lines changed: 141 additions & 141 deletions
Large diffs are not rendered by default.

internal/test_helpers/fixtures/lists/blpop_all_clients

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ Debug = true
22

33
[tester::#EC3] Running tests for Stage #EC3 (ec3)
44
[tester::#EC3] $ ./spawn_redis_server.sh
5-
[your_program] Logs from your program will appear here!
6-
[your_program] Redis server listening on 0.0.0.0:6379
7-
[tester::#EC3] [client-1] Connected (port 49680 -> port 6379)
8-
[tester::#EC3] [client-2] Connected (port 49692 -> port 6379)
9-
[tester::#EC3] [client-3] Connected (port 49694 -> port 6379)
5+
[your_program] Logs from your program will appear here!
6+
[your_program] Redis server listening on 0.0.0.0:6379
7+
[tester::#EC3] [client-1] Connected (port 54049 -> port 6379)
8+
[tester::#EC3] [client-2] Connected (port 54050 -> port 6379)
9+
[tester::#EC3] [client-3] Connected (port 54051 -> port 6379)
1010
[tester::#EC3] [client-1] $ redis-cli BLPOP pear 0
1111
[tester::#EC3] [client-1] Sent bytes: "*3\r\n$5\r\nBLPOP\r\n$4\r\npear\r\n$1\r\n0\r\n"
1212
[tester::#EC3] [client-2] $ redis-cli BLPOP pear 0

internal/test_helpers/fixtures/ping-pong/eof

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Debug = true
22

33
[tester::#RG2] Running tests for Stage #RG2 (rg2)
44
[tester::#RG2] $ ./spawn_redis_server.sh
5-
[your_program] hey, binding to 6379
5+
[your_program] hey, binding to 6379
66
[tester::#RG2] Connection established, sending ping command...
77
[tester::#RG2] [client] $ redis-cli PING
88
[tester::#RG2] [client] Sent bytes: "*1\r\n$4\r\nPING\r\n"
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[tester::#RG2] Running tests for Stage #RG2 (rg2)
22
[tester::#RG2] $ ./spawn_redis_server.sh
3-
[your_program] hey, binding to 6379
3+
[your_program] hey, binding to 6379
44
[tester::#RG2] [client] $ redis-cli PING
55
[tester::#RG2] [client] ✔︎ Received "PONG"
66
[tester::#RG2] Test passed.
77

88
[tester::#JM1] Running tests for Stage #JM1 (jm1)
99
[tester::#JM1] $ ./spawn_redis_server.sh
1010
[tester::#JM1] Connecting to port 6379...
11-
[your_program] hey, binding to 6379
11+
[your_program] hey, binding to 6379
1212
[tester::#JM1] Test passed.

0 commit comments

Comments
 (0)