# Incorrect test on ZG5 stage in REDIS

**URL:** <https://forum.codecrafters.io/t/incorrect-test-on-zg5-stage-in-redis/3977>\
**Category:** Challenges\
**Created:** [January 5, 2025, 3:49pm UTC](https://forum.codecrafters.io/t/incorrect-test-on-zg5-stage-in-redis/3977 "2025-01-05T15:49:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![quattrococodrilo](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/quattrococodrilo/32/4003_2.png) [@quattrococodrilo](https://forum.codecrafters.io/u/quattrococodrilo)\
**Post date:** [January 5, 2025, 3:49pm UTC](https://forum.codecrafters.io/t/incorrect-test-on-zg5-stage-in-redis/3977/1 "2025-01-05T15:49:55Z")

</div>

Hello, I executed the test, and the automated test provided these values for the `SET` command:

```auto
*5\r\n$3\r\nSET\r\n$9\r\npineapple\r\n$10\r\nstrawberry\r\n$2\r\npx\r\n$3\r\n100\r\n

*5\r\n$3\r\nSET\r\n$10\r\nstrawberry\r\n$6\r\norange\r\n$2\r\npx\r\n$3\r\n100\r\n

```

However, it is incorrect because “strawberry” doesn’t have a length of 10 but 9.

The subsequent executions went well, so I think this value is the only one that’s wrong.

Edit:

Apologies, I got confused; it was an error in my coding. My apologies.

Sorry

Best regards.

---

<div class="post-metadata">

**Author:** ![i27ae15](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/i27ae15/32/3295_2.png) [@i27ae15](https://forum.codecrafters.io/u/i27ae15)\
**Post date:** [January 5, 2025, 4:22pm UTC](https://forum.codecrafters.io/t/incorrect-test-on-zg5-stage-in-redis/3977/2 "2025-01-05T16:22:13Z")

</div>

> [@quattrococodrilo](#):
>
> `strawberry`

 ![image](https://canada1.discourse-cdn.com/flex003/uploads/codecrafters/original/2X/a/a5e9f0f89f074e4fc5ad6fc56116b9d35c90da85.png)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex003/uploads/codecrafters/original/3X/7/0/700657133935c15703e22c7c8870394f6e6dc27d.svg) [@system](https://forum.codecrafters.io/u/system)\
**Post date:** [January 12, 2025, 4:22pm UTC](https://forum.codecrafters.io/t/incorrect-test-on-zg5-stage-in-redis/3977/3 "2025-01-12T16:22:16Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
