Fix flaky TestFailUnpauseAndStops
This commit is contained in:
parent
563b4889e3
commit
606b42a6e7
|
@ -19,6 +19,7 @@ Changelog [format](http://keepachangelog.com/en/1.0.0/)
|
|||
* Fix measurement of uploading attachments during transfer.
|
||||
* GODT-827 Do not spam sentry with bad ID by integration test.
|
||||
* GODT-700 Fix UTF-7 incompatibility.
|
||||
* GODT-837 Fix flaky TestFailUnpauseAndStops.
|
||||
|
||||
### Changed
|
||||
* Bump crypto version to v0.0.0-20200818122824-ed5d25e28db8
|
||||
|
|
|
@ -115,7 +115,7 @@ func TestFailUnpauseAndStops(t *testing.T) {
|
|||
r.Nil(t, progress.updateCh)
|
||||
r.True(t, progress.isStopped)
|
||||
r.False(t, progress.IsPaused())
|
||||
r.Eventually(t, progress.shouldStop, 2*time.Millisecond, time.Millisecond)
|
||||
r.Eventually(t, progress.shouldStop, time.Second, 10*time.Millisecond)
|
||||
}
|
||||
|
||||
func TestStopClosesUpdates(t *testing.T) {
|
||||
|
|
Loading…
Reference in New Issue