Skip to content

Commit

Permalink
fix(test): remove meaningless list-max-ziplist-size (#2517)
Browse files Browse the repository at this point in the history
  • Loading branch information
PokIsemaine authored Sep 2, 2024
1 parent 6c85004 commit 0329170
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions tests/gocase/unit/type/list/list_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,7 @@ var largeValue = map[string]string{
}

func TestLTRIM(t *testing.T) {
srv := util.StartServer(t, map[string]string{
"list-max-ziplist-size": "4",
})
srv := util.StartServer(t, map[string]string{})
defer srv.Close()
ctx := context.Background()
rdb := srv.NewClient()
Expand Down Expand Up @@ -87,9 +85,7 @@ func TestLTRIM(t *testing.T) {
}

func TestZipList(t *testing.T) {
srv := util.StartServer(t, map[string]string{
"list-max-ziplist-size": "16",
})
srv := util.StartServer(t, map[string]string{})
defer srv.Close()
ctx := context.Background()
rdb := srv.NewClientWithOption(&redis.Options{
Expand Down

0 comments on commit 0329170

Please sign in to comment.