multi: loop in swap

This commit is contained in:
Joost Jager 2019-03-12 16:10:37 +01:00
parent 6a0a9556a0
commit 3e960b8b54
No known key found for this signature in database
GPG key ID: A61B9D4C393C59C7
28 changed files with 2376 additions and 273 deletions

View file

@ -117,10 +117,12 @@ func createClientTestContext(t *testing.T,
ctx.stop = stop
go func() {
ctx.runErr <- swapClient.Run(
err := swapClient.Run(
runCtx,
statusChan,
)
logger.Errorf("client run: %v", err)
ctx.runErr <- err
}()
return ctx