Retry client connection in waitForStart
Signed-off-by: Swagat Bora <sbora@amazon.com>
This commit is contained in:
@@ -1006,7 +1006,7 @@ func TestDaemonRestartWithRunningShim(t *testing.T) {
|
||||
t.Errorf(`first task.Wait() should have failed with "transport is closing"`)
|
||||
}
|
||||
|
||||
waitCtx, cancel := context.WithTimeout(ctx, 1*time.Second)
|
||||
waitCtx, cancel := context.WithTimeout(ctx, 4*time.Second)
|
||||
c, err := ctrd.waitForStart(waitCtx)
|
||||
cancel()
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user