From ae3e549cfc5ead8cdd792c14d553e21401c36cbb Mon Sep 17 00:00:00 2001 From: tidwall Date: Thu, 29 Dec 2022 11:58:10 -0700 Subject: [PATCH] Add missing test --- tests/keys_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/keys_test.go b/tests/keys_test.go index 05bee5e8..7e4209c0 100644 --- a/tests/keys_test.go +++ b/tests/keys_test.go @@ -189,6 +189,7 @@ func keys_FSET_test(mc *mockServer) error { Do("SET", "mykey", "myid", "HASH", "9my5xp7").OK(), Do("DEL", "mykey", "myid").Str("1"), Do("GET", "mykey", "myid").Str(""), + Do("SET", "mykey", "myid", "HASH", "9my5xp7").OK(), Do("CONFIG", "SET", "maxmemory", "1").OK(), Do("FSET", "mykey", "myid", "xx", "f1", 1.1, "f2", 2.2).Err(`OOM command not allowed when used memory > 'maxmemory'`), Do("CONFIG", "SET", "maxmemory", "0").OK(),