mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-21 14:33:53 +00:00
fix buffer test
This commit is contained in:
parent
7da83e9e6c
commit
f74ea33e53
|
@ -64,7 +64,7 @@ func TestDepthBuffer_CorruptedUpdateAtTheBeginning(t *testing.T) {
|
|||
{Price: itov(99), Volume: itov(1)},
|
||||
},
|
||||
}, snapshotFinalID, nil
|
||||
})
|
||||
}, time.Millisecond*5)
|
||||
|
||||
resetC := make(chan struct{}, 1)
|
||||
|
||||
|
@ -104,7 +104,7 @@ func TestDepthBuffer_ConcurrentRun(t *testing.T) {
|
|||
{Price: itov(99), Volume: itov(1)},
|
||||
},
|
||||
}, snapshotFinalID, nil
|
||||
})
|
||||
}, time.Millisecond*5)
|
||||
|
||||
readyCnt := 0
|
||||
resetCnt := 0
|
||||
|
|
Loading…
Reference in New Issue
Block a user