Fix deadlock in integration tests for Import-Export

This commit is contained in:
Michal Horejsek 2020-10-16 10:53:44 +02:00
parent 932928ddc8
commit 4893931a8d
2 changed files with 5 additions and 1 deletions

View File

@ -6,6 +6,7 @@ Changelog [format](http://keepachangelog.com/en/1.0.0/)
### Fixed
* GODT-749 Don't force PGP/Inline when sending plaintext messages.
* GODT-764 Fix deadlock in integration tests for Import-Export.
### Changed
* Bump crypto version to v0.0.0-20200818122824-ed5d25e28db8

View File

@ -48,7 +48,10 @@ func TransferChecksFeatureContext(s *godog.Suite) {
func progressFinishedWith(wantResponse string) error {
progress := ctx.GetTransferProgress()
// Wait till transport is finished.
for range progress.GetUpdateChannel() {
updateCh := progress.GetUpdateChannel()
if updateCh != nil {
for range updateCh {
}
}
err := progress.GetFatalError()