mirror of
https://github.com/gofiber/storage.git
synced 2025-10-21 15:49:24 +08:00
Updated replace in go mod, updated Expiration test
This commit is contained in:
@@ -55,7 +55,11 @@ func Test_Scylla_Set_Expiration(t *testing.T) {
|
||||
err := testStore.Set(key, val, exp)
|
||||
require.NoError(t, err)
|
||||
|
||||
time.Sleep(1100 * time.Millisecond)
|
||||
time.Sleep(1500 * time.Millisecond)
|
||||
|
||||
result, err := testStore.Get(key)
|
||||
require.NoError(t, err)
|
||||
require.Empty(t, result)
|
||||
}
|
||||
|
||||
func Test_Scylla_Get_NotExist(t *testing.T) {
|
||||
|
Reference in New Issue
Block a user