Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
yuce committed Sep 25, 2023
1 parent 615b5bd commit 2caa326
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions map_it_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -651,6 +651,7 @@ func mapLoadAllWithoutReplacing(t *testing.T) {
return "test-map"
}
it.MapTesterWithConfigAndName(t, makeMapName, nil, func(t *testing.T, m *hz.Map) {
it.Must(m.Destroy(context.Background()))
putSampleKeyValues(m, 2)
it.Must(m.EvictAll(context.Background()))
it.Must(m.PutTransient(context.Background(), "k0", "new-v0"))
Expand All @@ -675,6 +676,7 @@ func mapLoadAllReplacing(t *testing.T) {
}
it.MapTesterWithConfigAndName(t, makeMapName, nil, func(t *testing.T, m *hz.Map) {
ctx := context.Background()
it.Must(m.Destroy(ctx))
keys := putSampleKeyValues(m, 2)
// load all keys
it.Must(m.EvictAll(ctx))
Expand Down

0 comments on commit 2caa326

Please sign in to comment.