fixup! refactor(container): restart handling
This commit is contained in:
parent
10ca605db0
commit
3bcc682df5
@ -236,6 +236,7 @@ func TestClientRunContainerWithRestart(t *testing.T) {
|
|||||||
require.NotNil(t, state.ExitCode)
|
require.NotNil(t, state.ExitCode)
|
||||||
assert.Equal(t, 1, *state.ExitCode)
|
assert.Equal(t, 1, *state.ExitCode)
|
||||||
assert.Equal(t, 1, state.RestartCount)
|
assert.Equal(t, 1, state.RestartCount)
|
||||||
|
assert.Equal(t, "max restarts reached", state.Err.Error())
|
||||||
|
|
||||||
<-done
|
<-done
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user