Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix master build #46

Merged
merged 1 commit into from
Oct 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions internal/tests/integration/commands/incr_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,11 @@ func TestIncr(t *testing.T) {
},
Result: []TestCaseResult{
{Expected: "OK"},
{ErrorExpected: true, Expected: "(error) ERR WRONGTYPE Operation against a key holding the wrong kind of value"},
{ErrorExpected: true, Expected: "(error) ERR value is not an integer or out of range"},
{Expected: "OK"},
{ErrorExpected: true, Expected: "(error) ERR WRONGTYPE Operation against a key holding the wrong kind of value"},
{ErrorExpected: true, Expected: "(error) ERR value is not an integer or out of range"},
{Expected: "OK"},
{ErrorExpected: true, Expected: "(error) ERR WRONGTYPE Operation against a key holding the wrong kind of value"},
{ErrorExpected: true, Expected: "(error) ERR value is not an integer or out of range"},
},
},
}
Expand Down
2 changes: 1 addition & 1 deletion internal/tests/integration/commands/pfadd_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func TestPfAdd(t *testing.T) {
},
Result: []TestCaseResult{
{Expected: "OK"},
{ErrorExpected: true, Expected: "(error) WRONGTYPE Key is not a valid HyperLogLog string value."},
{ErrorExpected: true, Expected: "(error) WRONGTYPE Key is not a valid HyperLogLog string value"},
},
},
}
Expand Down
2 changes: 1 addition & 1 deletion internal/tests/integration/commands/pfcount_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func TestPfCount(t *testing.T) {
},
Result: []TestCaseResult{
{Expected: "OK"},
{ErrorExpected: true, Expected: "(error) WRONGTYPE Key is not a valid HyperLogLog string value."},
{ErrorExpected: true, Expected: "(error) WRONGTYPE Key is not a valid HyperLogLog string value"},
},
},
{
Expand Down
2 changes: 1 addition & 1 deletion internal/tests/integration/commands/pfmerge_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func TestPfMerge(t *testing.T) {
},
Result: []TestCaseResult{
{Expected: "OK"},
{ErrorExpected: true, Expected: "(error) WRONGTYPE Key is not a valid HyperLogLog string value."},
{ErrorExpected: true, Expected: "(error) WRONGTYPE Key is not a valid HyperLogLog string value"},
},
},
}
Expand Down
3 changes: 2 additions & 1 deletion internal/tests/integration/setup/setup_dicedb_container.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ func InitializeDiceDBContainer(ctx context.Context) (*DiceDBContainer, error) {
req := testcontainers.ContainerRequest{
Image: "dicedb/dicedb:latest",
ExposedPorts: []string{"7379/tcp"},
WaitingFor: wait.ForLog("HTTP Server running"),
WaitingFor: wait.ForLog("starting DiceDB"),
}

diceDBContainer, err := testcontainers.GenericContainer(ctx, testcontainers.GenericContainerRequest{
ContainerRequest: req,
Started: true,
Expand Down