Fix deadlock in integration tests for Import-Export
This commit is contained in:
parent
932928ddc8
commit
4893931a8d
|
@ -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
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue