mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-13 06:06:44 +00:00
Fix deadlock in integration tests for Import-Export
This commit is contained in:
@ -6,6 +6,7 @@ Changelog [format](http://keepachangelog.com/en/1.0.0/)
|
|||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
* GODT-749 Don't force PGP/Inline when sending plaintext messages.
|
* GODT-749 Don't force PGP/Inline when sending plaintext messages.
|
||||||
|
* GODT-764 Fix deadlock in integration tests for Import-Export.
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
* Bump crypto version to v0.0.0-20200818122824-ed5d25e28db8
|
* Bump crypto version to v0.0.0-20200818122824-ed5d25e28db8
|
||||||
|
|||||||
@ -48,7 +48,10 @@ func TransferChecksFeatureContext(s *godog.Suite) {
|
|||||||
func progressFinishedWith(wantResponse string) error {
|
func progressFinishedWith(wantResponse string) error {
|
||||||
progress := ctx.GetTransferProgress()
|
progress := ctx.GetTransferProgress()
|
||||||
// Wait till transport is finished.
|
// Wait till transport is finished.
|
||||||
for range progress.GetUpdateChannel() {
|
updateCh := progress.GetUpdateChannel()
|
||||||
|
if updateCh != nil {
|
||||||
|
for range updateCh {
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
err := progress.GetFatalError()
|
err := progress.GetFatalError()
|
||||||
|
|||||||
Reference in New Issue
Block a user