Skip to content

Commit

Permalink
Fix master build (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucifercr07 authored Oct 22, 2024
1 parent d8d50c8 commit 572a8d0
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
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

0 comments on commit 572a8d0

Please sign in to comment.