mirror of
https://github.com/EchoVault/SugarDB.git
synced 2025-10-17 13:31:55 +08:00
Replaces use of time.Sleep with time.Ticker in echovault and echovault tests
This commit is contained in:
@@ -511,6 +511,7 @@ func TestEchoVault_CommandCount(t *testing.T) {
|
||||
func TestEchoVault_Save(t *testing.T) {
|
||||
conf := DefaultConfig()
|
||||
conf.DataDir = path.Join(".", "testdata", "data")
|
||||
conf.EvictionPolicy = constants.NoEviction
|
||||
server := createEchoVaultWithConfig(conf)
|
||||
|
||||
tests := []struct {
|
||||
|
Reference in New Issue
Block a user