Skip to content
This repository has been archived by the owner on Jun 15, 2022. It is now read-only.

Commit

Permalink
Fix db test interval time
Browse files Browse the repository at this point in the history
  • Loading branch information
gozeloglu committed Oct 17, 2021
1 parent bfb355d commit 10adaac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions db_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,9 @@ func TestTimeInterval(t *testing.T) {
t.Logf("db created.")

db.Set("foo", "bar")
t.Logf("Wait 3 seconds...")
time.Sleep(3 * time.Second)
t.Logf("Wait 4 seconds...")
db.Close()
time.Sleep(4 * time.Second)

db2, err := Create("", t.Name(), 1*time.Minute)
if err != nil {
Expand Down

0 comments on commit 10adaac

Please sign in to comment.