mirror of
https://github.com/anyproto/anytype-heart.git
synced 2025-06-09 17:44:59 +09:00
GO-4779: Tweak flickering test
This commit is contained in:
parent
abb48ea586
commit
f192d3ca59
1 changed files with 2 additions and 1 deletions
|
@ -62,6 +62,7 @@ func TestService_Search(t *testing.T) {
|
|||
}
|
||||
|
||||
t.Run("dependencies", func(t *testing.T) {
|
||||
|
||||
fx := newFixture(t)
|
||||
defer fx.a.Close(context.Background())
|
||||
defer fx.ctrl.Finish()
|
||||
|
@ -83,7 +84,7 @@ func TestService_Search(t *testing.T) {
|
|||
require.NoError(t, err)
|
||||
|
||||
// Wait enough time to flush pending updates to subscriptions handler
|
||||
time.Sleep(batchTime + 3*time.Millisecond)
|
||||
time.Sleep(batchTime + 4*time.Millisecond)
|
||||
|
||||
spaceSub.onChange([]*entry{
|
||||
newEntry("1", domain.NewDetailsFromMap(map[domain.RelationKey]domain.Value{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue