mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
fix hold test.
This commit is contained in:
parent
77d101596f
commit
f4834a3a05
1 changed files with 1 additions and 1 deletions
|
|
@ -22,9 +22,9 @@ func TestHoldChan(t *testing.T) {
|
|||
Convey("get then set", t, func() {
|
||||
id := uuid.RandomUUID()
|
||||
go func() {
|
||||
time.Sleep(time.Second / 10)
|
||||
Hold.Set(&id, "derpsy", 10)
|
||||
}()
|
||||
time.Sleep(time.Second / 10)
|
||||
derp, _ := Hold.Get(&id, 10)
|
||||
So(derp, ShouldEqual, "derpsy")
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue