mirror of
https://github.com/anyproto/anytype-heart.git
synced 2025-06-12 02:30:53 +09:00
GO-4360 Fix migrator test
This commit is contained in:
parent
eb628d47c5
commit
582328e89f
1 changed files with 3 additions and 2 deletions
|
@ -60,7 +60,7 @@ func TestRunner(t *testing.T) {
|
|||
return nil
|
||||
}
|
||||
},
|
||||
)
|
||||
).Maybe()
|
||||
runner := Runner{ctx: ctx, spc: space, store: store}
|
||||
|
||||
// when
|
||||
|
@ -85,7 +85,8 @@ func TestRunner(t *testing.T) {
|
|||
|
||||
// when
|
||||
go func() {
|
||||
time.Sleep(10 * time.Millisecond)
|
||||
// TODO: GO-4444 Migration runner wastes much time to get 2 store indexes instead of 1
|
||||
time.Sleep(20 * time.Millisecond)
|
||||
cancel()
|
||||
}()
|
||||
err := runner.run(instantMigration{})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue