I’m stuck on Stage #CF8.
I’ve tried sending the data directly as bytes and also tried stringifying and then sending it as bytes. Both didn’t work for me,
Logs are for sending direclty as bytes.
Here are my logs:
[tester::#CF8] $ ./spawn_redis_server.sh --port 6379
[tester::#CF8] client: $ redis-cli PING
[tester::#CF8] client: Sent bytes: "*1\r\n$4\r\nPING\r\n"
[tester::#CF8] client: Received bytes: "$4\r\nPONG\r\n"
[tester::#CF8] client: Received RESP bulk string: "PONG"
[tester::#CF8] Found extra data: "$88\r\nREDIS0011\xfa\tredis-ver\x057.2.0\xfa\nredis-bits\xc0@\xfa\x05ctime\xc2m\b\xbce\xfa\bused-mem°\xc4\x10\x00\xfa\baof-base\xc0\x00\xff\xf0n;\xfe\xc0\xffZ\xa2"
[tester::#CF8] Test failed
[tester::#CF8] Terminating program
[tester::#CF8] Program terminated successfully
And here’s a snippet of my code:
include relevant code here (please make sure to keep the backticks around this!)