Skip to content

Commit

Permalink
Update tests/gocase/unit/config/config_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: hulk <[email protected]>
  • Loading branch information
wanghenshui and git-hulk authored Dec 4, 2024
1 parent 2507155 commit 73cb87f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/gocase/unit/config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,6 @@ func TestGenerateConfigsMatrix(t *testing.T) {
require.Contains(t, configsMatrix, util.KvrocksServerConfigs{"txn-context-enabled": "no", "resp3-enabled": "no"})
}


func TestGetConfigSkipBlockCacheDeallocationOnClose(t *testing.T) {
srv := util.StartServer(t, map[string]string{
"skip-block-cache-deallocation-on-close": "yes",
Expand All @@ -341,4 +340,4 @@ func TestGetConfigSkipBlockCacheDeallocationOnClose(t *testing.T) {
rdb = srv1.NewClient()
val = rdb.ConfigGet(ctx, "skip-block-cache-deallocation-on-close").Val()
require.EqualValues(t, "no", val["skip-block-cache-deallocation-on-close"])
}
}

0 comments on commit 73cb87f

Please sign in to comment.