advanced end 2 end test

This commit is contained in:
Darien Raymond committed 2015-12-04 15:49:10 +00:00
1 parent 223ff7d561
commit 1a25931944
9 files changed
+232 -139

No files matched your search

+4 -1
View File
@@ -47,7 +47,7 @@ func (this *InboundDetourHandler) Initialize() error {
// Starts the inbound connection handler.
func (this *InboundDetourHandler) Start() error {
for _, ich := range this.ich {
return retry.Timed(100 /* times */, 100 /* ms */).On(func() error {
err := retry.Timed(100 /* times */, 100 /* ms */).On(func() error {
err := ich.handler.Listen(ich.port)
if err != nil {
log.Error("Failed to start inbound detour on port %d: %v", ich.port, err)
@@ -55,6 +55,9 @@ func (this *InboundDetourHandler) Start() error {
}
return nil
})
if err != nil {
return err
}
}
return nil
}