forked from Silverfish/proton-bridge
Fix flaky TestFailUnpauseAndStops
This commit is contained in:
@ -19,6 +19,7 @@ Changelog [format](http://keepachangelog.com/en/1.0.0/)
|
|||||||
* Fix measurement of uploading attachments during transfer.
|
* Fix measurement of uploading attachments during transfer.
|
||||||
* GODT-827 Do not spam sentry with bad ID by integration test.
|
* GODT-827 Do not spam sentry with bad ID by integration test.
|
||||||
* GODT-700 Fix UTF-7 incompatibility.
|
* GODT-700 Fix UTF-7 incompatibility.
|
||||||
|
* GODT-837 Fix flaky TestFailUnpauseAndStops.
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
* Bump crypto version to v0.0.0-20200818122824-ed5d25e28db8
|
* Bump crypto version to v0.0.0-20200818122824-ed5d25e28db8
|
||||||
|
|||||||
@ -115,7 +115,7 @@ func TestFailUnpauseAndStops(t *testing.T) {
|
|||||||
r.Nil(t, progress.updateCh)
|
r.Nil(t, progress.updateCh)
|
||||||
r.True(t, progress.isStopped)
|
r.True(t, progress.isStopped)
|
||||||
r.False(t, progress.IsPaused())
|
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) {
|
func TestStopClosesUpdates(t *testing.T) {
|
||||||
|
|||||||
Reference in New Issue
Block a user