Skip to content

Releases: codecrafters-io/redis-tester

v124

29 Feb 12:11
6ff3836
Compare
Choose a tag to compare

Changelog

  • 6ff3836 Merge pull request #81 from codecrafters-io/CC-986-improvements-first-round
  • bef46f2 CC-986 updated failing xread tests + updated fixtures
  • c060357 CC-986 passed error from util to tester function for xread
  • d68697b CC-968 passed error from util to tester function for xadd
  • 15ce978 CC-986 used a negative value to block if no block value was passed in
  • c552064 CC-986 improved response for stages related to xrange
  • 7a915eb CC-986 improved success logs for validate id stage + updated fixtures
  • 7d6be01 CC-986 updated fixtures
  • 11caa46 CC-986 added success logs to type stage
  • fb9e044 CC-986 updated course definition yaml

v123

28 Feb 14:06
76f3dae
Compare
Choose a tag to compare

Changelog

  • 76f3dae Merge pull request #78 from codecrafters-io/CC-986-blocking-xread
  • 73cd9a8 CC-986 updated error handling + fixtures
  • 79016cb CC-986 improved nil handling for xread block stage
  • 1959ae2 CC-986 fixed typo in course definition yml
  • 5804686 CC-986 updated fixtures
  • 04d361a CC-986 udpated logs + course definition yml
  • a444599 CC-986 update logs
  • a76c619 Merge pull request #75 from codecrafters-io/CC-986-xread-block-max-id
  • 70e836e CC-986 udpated logs + fixtures
  • c748fde CC-986 updated tester function
  • 8978707 Merge branch 'CC-986-blocking-xread' into CC-986-xread-block-max-id
  • 9509637 Merge pull request #74 from codecrafters-io/CC-986-xread-block-no-timeout
  • 80bb1e9 CC-986 updated tester function + fixtures
  • 3b5a402 Merge branch 'CC-986-blocking-xread' into CC-986-xread-block-no-timeout
  • 619a81c Merge branch 'main' into CC-986-blocking-xread
  • 2a4a188 Merge pull request #77 from codecrafters-io/CC-986-xread
  • be8ee5c Merge pull request #76 from codecrafters-io/CC-986-xread-block
  • 8aedfc9 CC-968 updated tester function + fixtures
  • 7565a8a CC-986 updated logging + fixtures
  • e0d7782 CC-986 udpated fixtures
  • 1276bdd CC-986 updated fixtures
  • 9a2dd73 CC-986 updated tester function
  • 99ccc1a Merge branch 'CC-986-blocking-xread' into CC-986-xread-block
  • 9d70f46 Merge pull request #73 from codecrafters-io/CC-986-xread-multiple
  • f5a3cb0 CC-986 udpated fixtures
  • 5fcd3e6 CC-986 updated course definition yml tester example for xread
  • 0c6c834 CC-986 updated fixtures
  • e8fb97e CC-986 used randomness in entries for xread stages
  • ce3b2c6 CC-986 updated to use helper instead of harcoded strings for random string
  • 923696f CC-986 updated tester function
  • cd28b05 Merge branch 'main' into CC-986-xread-multiple
  • abdfb37 Merge pull request #72 from codecrafters-io/CC-986-xread
  • f1cde63 CC-986 updated response logs for streams to be in json + updated fixtures
  • d14972c CC-986 updated xadd logging + fixtures
  • 6fa5786 CC-986 updated 'testXread' to be defined as 'run' on the XREADTest struct
  • 81bec75 Merge branch 'main' into CC-986-xread
  • 2833329 Merge pull request #67 from codecrafters-io/CC-986-query-xrange-max
  • a96c832 CC-986 updated tester function + fixtures
  • c5ddbac Merge branch 'main' into CC-986-query-xrange-max
  • 9c219e2 Merge pull request #66 from codecrafters-io/CC-986-query-xrange-min
  • 2233d6e CC-986 updated tester function + fixtures
  • d47f76c Merge branch 'main' into CC-986-query-xrange-min
  • 2dd5b1b Merge pull request #65 from codecrafters-io/CC-986-query-xrange
  • b04828f CC-986 updated tester function + fixtures
  • 286cdc2 CC-986 improved logging for tester function
  • d63a14a CC-986 updated course definition yml
  • 87a7c5b Merge branch 'main' into CC-986-query-xrange
  • 9b8aab2 CC-986 updated fixtures
  • 7b01692 CC-986 updated fixtures
  • 672f6dd CC-986 udpated tester function
  • b33c0e7 CC-986 updated testXread
  • 556f6b3 CC-986 udpated fixtures
  • 02c9032 CC-986 updated testXread
  • 249f926 CC-986 updated tester function + fixtures
  • ad0d8a7 Merge pull request #71 from codecrafters-io/CC-1032
  • 2400bdc CC-1032: Update string matching for anti-cheat stage.
  • 3cfaf63 CC-986 updated file name to be consistent
  • d9c8119 CC-986 updated fixtures
  • 99d4057 CC-986 updated fixtures
  • b675ae8 CC-986 updated fixtures
  • bb69d05 CC-986 updated fixtures
  • 4ad8a3d CC-986 updated fixtures
  • 58a9d37 CC-986 updated course definition yml
  • ee37760 CC-986 updated stages test
  • 828d76a CC-986 added tester function
  • 3771031 CC-986 updated tester definition
  • 8b30af4 CC-986 updated tester function + updated fixtures
  • 4af8472 CC-986 updated course definition yml
  • 7c51aea CC-986 updated stages test
  • 62ae916 CC-986 added tester function
  • ac91093 CC-986 updated tester definition
  • 76adfe5 CC-986 updated fixtures
  • 3665a7f CC-986 used extracted xread test
  • 5c0c0eb Merge branch 'CC-986-xread-multiple' into CC-986-xread-block
  • b4a70ab CC-986 updated fixtures
  • 5a69fdd CC-986 updated fixtures
  • e4713fd CC-986 used extracted xread test
  • b403fcd Merge branch 'CC-986-xread' into CC-986-xread-multiple
  • 54f3a07 CC-986 updated fixtures
  • 06331d1 CC-986 extracted out test for xread
  • 140e723 CC-986 updated tester function + updated fixtures
  • f183330 CC-986 updated course definition yml
  • 436a43c CC-986 updated stages test
  • b34a640 CC-986 added tester function
  • 28171b6 CC-986 updated tester definition
  • c9990a6 Merge pull request #70 from codecrafters-io/CC-986-full-id
  • ad3cbc8 CC-986 updated fixtures
  • 0b74714 CC-986 added regex for xadd response id to normalize tester output
  • d0781a5 CC-986 updated fixtures
  • 8989ab1 CC-986 updated course definition yml
  • 84cddb5 CC-986 updated stages test
  • cafc98b CC-986 added tester function
  • 425161d CC-986 updated tester definition
  • cf22d79 CC-986 fixed failing test + updated fixtures
  • e76a2b2 CC-986 improved readability of tester function
  • 905b1dd CC-986 updated tester function
  • cea93b1 CC-986 updated course definition yml
  • 5894373 CC-986 updated stages test
  • e22a0ee CC-986 added tester function
  • 3b1109c CC-986 updated tester definition
  • 22af763 CC-986 updated fixtures
  • e41431f CC-986 updated fixtures
  • 409db35 CC-986 improved logs
  • 90dee17 Merge branch 'main' into CC-986-full-id
  • cbd171a Merge pull request #69 from codecrafters-io/CC-986-partial-id
  • f9b6be0 CC-986 updated fixtures
  • f8f2fed CC-986 updated tester function
  • 30bc5ce Merge branch 'main' into CC-986-partial-id
  • 4fc2ef0 Merge pull request #68 from codecrafters-io/CC-986-validate-id
  • bdc63b4 CC-986 updated fixtures
  • e684ad5 CC-986 merged info + success logging
  • 1b17c73 CC-986 updated fixtures
  • 63801f3 CC-986 added quotation marks to received logs + updated fixtures
  • ecac3b0 CC-986 updated fixtures
  • b1d3c01 CC-986 improved error handling + updated fixtures
  • e79e4f2 CC-986 updated fixtures
  • 6ee4f0d Merge branch 'main' into CC-986-validate-id
  • 4aeb8ab CC-986 updated fixtures
  • 832083f CC-1032: Improve anti-cheat stage. Instead of INFO Server, use MEMORY DOCTOR.
  • d9f858d CC-986 moved response logging
  • df8e873 CC-986 moved xadd util to xadd tester
  • 08fae5e CC-986 added succes logs for xadd
  • 4ded2c5 Merge pull request #60 from codecrafters-io/repl-fixes
  • 705275b CC-986 extracted out function for testing xadd
  • 6dd13b2 Resolve PR#60 comments. 1. Fix inconsistency in naming. 2. Remove dups in logging of error. 3. Update bind error log.
  • 2806061 Update fixtures.
  • d6163c5 CC-986 udpate fixtures
  • d77f0d8 CC-986 updated course definition yml
  • 0158ebd CC-986 updated stages test
  • 5df3f25 CC-986 updated tester definition
  • 7861405 CC-986 added tester function
  • fcb3d17 CC-986 updated fixtures
  • da06e45 Merge branch 'main' into repl-fixes
  • 2d1a9cd CC-986 removed unnecessary logging of response
  • ea9185a CC-986 update fixtures
  • 1bc6d4a CC-986 fixed failing test
  • f145220 CC-986 updated course definition yml
  • 995277f CC-986 udpated stages test
  • 04908f3 CC-986 added tester function
  • bd6e193 CC-986 updated tester definition
  • d85cc70 CC-986 updated fixtures
  • 9191620 CC-986 updated tester function to get test to pass
  • 5ab49aa CC-986 updated course definition yml
  • 7de7fd9 CC-986 updated stages test
  • 100c85f CC-986 added tester function
  • b3e2f5e CC-986 added tester definition
  • fa9d31d Further refactor test_repl_wait. Extract out RunWaitTest method.
  • 58228ea CC-986 updated fixtures
  • e94d2fd CC-986 updated course definition yml
  • 2b1c05e CC-986 updated stages test
  • 003812d CC-986 added tester function
  • 33d0253 CC-986 updated tester definition
  • b0f19a8 CC-986 update fixtures
  • b4d1f58 CC-986 updated course definition yml
  • 8c92152 CC-986 updated stages test
  • 6523497 CC-986 added tester function
  • 0d87853 CC-986 updated tester definition
  • ff69376 CC-986 updated failing test + updated fixtures
  • d38fc0f CC-986 updated course definition yml
  • 93e006b CC-986 updated stages test
  • e643282 CC-986 added tester function
  • 82d40ed CC-986 updated tester definition
  • ad279a3 Merge pull request #64 from codecrafters-io/CC-985-type-command
  • f97b36c Merge pull request #62 from codecrafters-io/CC-985-create-stream
  • 8bc7e28 CC-986 updated fixtures
  • 60dcd57 CC-986 removed unnecessary fixtures
  • c075429 CC-986 updated fixtures
  • e34035e CC-986 updated fixture path
  • 32a7842 CC-986 removed unnecessary logging + used randomness
  • aa345bb Merge branch 'main' into CC-985-create-stream
  • 4ebe3ef Merge pull request #61 from codecrafters-io/CC-985-type-command
  • e60d02f CC-986 updated fixtures
  • 167149d CC-986 improved logging + used randomness
  • 79ca8c1 CC-986 updated fixtures again
  • 9a4c2d6 CC-986 updated fixtures
  • 1c82c74 CC-986 updated test name in stages test + upgraded go to 1.17
  • ede54fe Merge branch 'main' into CC-985-type-command
  • 3a74223 CC-986 added fixture for streams-type
  • 5e867a2 CC-986 updated test function
  • 5a264c1 CC-986 add vendor to gitignore
  • 13729ea CC-986 updated course definition yml
  • 2bcb5d6 CC-986 added streams-type to stages test
  • 54d496e CC-986 handled case for missing key for the type command stage test func
  • 0d1af7a CC-986 added tester function for type command stage
  • 9abb908 CC-986 added streams-type to the tester definition
  • d9ab2db Refactor bind error message, and add it to all net.Listen() calls.
  • a4cccc1 Merge branch 'CC-985-type-command' into CC-985-create-stream
  • 742425c CC-985 updated fixtures again
  • 465ea8e CC-985 updated fixtures
  • f4b50bd CC-985 updated test in stages test
  • 531030c Merge branch 'CC-985-type-command' into CC-985-create-stream
  • 7d7234b CC-985 updated fixtures
  • ea72a7e CC-985 updated test name in stages test + upgraded go to 1.17
  • 9e0c054 Merge branch 'main' into CC-985-type-command
  • ada9477 Merge pull request #63 from codecrafters-io/rohitpaulk/cc-1039-replace-redis-pass_all-fixtures-with-single-fixture-per
  • d9b28f4 remove extra fixtures
  • 43e0a54 CC-985 added streams-xadd fixture
  • 525007e CC-985 update path in stages test
  • a2542bf CC-985 updated course definition yml
  • ee4d4f2 CC-985 added streams-xadd to stages...
Read more

v122

16 Feb 18:20
0a63f0b
Compare
Choose a tag to compare

Changelog

  • 0a63f0b Merge pull request #59 from codecrafters-io/redis-repl
  • 6919562 Return err if master couldn't bind.

v121

12 Feb 19:10
1917bfa
Compare
Choose a tag to compare

Changelog

  • 1917bfa Merge pull request #57 from codecrafters-io/redis-repl
  • 4f485b3 Update fixtures.
  • b880911 Minor fixes to WAIT test. 1. Return if connection failed. 2. Return if WAIT reply mismatch. 3. Random numbers shouldn't be 0.
  • 319ad57 Return if connection couldn't be established.
  • 18aeb5d Implement capability to compare user messages with multiple possible options.
  • dd2943a Revert regex change. Update fixtures.

v120

12 Feb 19:09
Compare
Choose a tag to compare

Changelog

  • 4f485b3 Update fixtures.
  • b880911 Minor fixes to WAIT test. 1. Return if connection failed. 2. Return if WAIT reply mismatch. 3. Random numbers shouldn't be 0.
  • 319ad57 Return if connection couldn't be established.
  • 18aeb5d Implement capability to compare user messages with multiple possible options.
  • dd2943a Revert regex change. Update fixtures.

v119

11 Feb 17:41
9699430
Compare
Choose a tag to compare

Changelog

  • 9699430 Merge pull request #56 from codecrafters-io/redis-repl
  • f1c1609 Add updated fixtures.
  • 3707e2f Instead of timeout, start goroutine to accept connections and perform handshake in the bg.
  • 427ff15 Merge pull request #55 from theredditbandit/main
  • cc0ad5d update stage description
  • 71d73b6 Connecting to master is optional in Stage 3. Add timeout and skip if connection not made.

v118

11 Feb 17:39
9699430
Compare
Choose a tag to compare

Changelog

  • 9699430 Merge pull request #56 from codecrafters-io/redis-repl
  • f1c1609 Add updated fixtures.
  • 3707e2f Instead of timeout, start goroutine to accept connections and perform handshake in the bg.
  • 427ff15 Merge pull request #55 from theredditbandit/main
  • cc0ad5d update stage description
  • 71d73b6 Connecting to master is optional in Stage 3. Add timeout and skip if connection not made.

v117

10 Feb 11:38
050079e
Compare
Choose a tag to compare

Changelog

  • 050079e Merge pull request #54 from codecrafters-io/redis-repl
  • 78c72e7 Merge branch 'main' into redis-repl
  • 25f587d Add updated fixtures.
  • 6081a94 Update log prefix to: [replica-N] and [client]. CompareStringSlices is now always case insensitive for the first element in the array. It's always called in context of RESP commands.
  • f00d74c Add LogPrefix for other stages with multiple replicas.
  • c02130b Add util method readAndAssertMessagesWithSkip, and refactor code. Skips first message if required, before comparing expected and actual.
  • 4dcf803 Refactor Code.
  • 76332ca Create FakeRedisNode to share methods between Replica and Master. Add logPrefix to make logs easier to understand.
  • bd0367f Update logs to say "Master is running on XXXX".
  • 558bc97 Remove 2nd WAIT test case. (Makes the entire stage > 10s).
  • c8bed67 Update all error statements statements to be more consistent.
  • e023e07 Add case sensitive matching for commands propagated.
  • dd092b0 Properly handle first command sent by User. It can be SELECT, or the command propagated by us.

v116

09 Feb 22:35
Compare
Choose a tag to compare

Changelog

  • 0688f12 Fix REPL wait test by assigning the error and offset values in the testWait function.

v114

09 Feb 22:10
Compare
Choose a tag to compare

Changelog

  • 1d9a3af Refactor testReplMasterCmdProp function in test_repl_master_cmd_prop.go
  • e9b1831 Refactor testReplMasterCmdProp function in test_repl_master_cmd_prop.go