Skip to content

Commit

Permalink
Fix REPL wait test by assigning the error and offset values in the te…
Browse files Browse the repository at this point in the history
…stWait function.
  • Loading branch information
rohitpaulk committed Feb 9, 2024
1 parent b9ba4de commit 0688f12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/test_repl_wait.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func testWait(stageHarness *testerutils.StageHarness) error {
// err, o := readAndAssertMessages(replica.Reader, []string{"SELECT", "0"}, logger)
// offset += o

err, o = readAndAssertMessages(replica.Reader, []string{"SET", "foo", "123"}, logger)
err, o := readAndAssertMessages(replica.Reader, []string{"SET", "foo", "123"}, logger)
offset += o

err, o = readAndAssertMessages(replica.Reader, []string{"REPLCONF", "GETACK", "*"}, logger)
Expand Down

0 comments on commit 0688f12

Please sign in to comment.