diff options
author | Valery Piashchynski <[email protected]> | 2022-05-12 17:06:58 +0200 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2022-05-12 17:06:58 +0200 |
commit | 2c1303986be8710bd9f30d4a42827f582f490ba0 (patch) | |
tree | a7091e31d581ba249962803e9e206893d35640c6 | |
parent | 53bbf3e29a25a4751a7d31ce4b31f4d724a244c4 (diff) |
chore: update tests
Signed-off-by: Valery Piashchynski <[email protected]>
-rw-r--r-- | internal/container/config_test.go | 2 | ||||
-rw-r--r-- | internal/container/container_test.go | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/internal/container/config_test.go b/internal/container/config_test.go index 413d1eac..ec07225a 100644 --- a/internal/container/config_test.go +++ b/internal/container/config_test.go @@ -17,7 +17,6 @@ func TestNewConfig_SuccessfulReading(t *testing.T) { assert.Equal(t, time.Second*10, c.GracePeriod) assert.True(t, c.PrintGraph) - assert.True(t, c.RetryOnFail) assert.Equal(t, endure.WarnLevel, c.LogLevel) } @@ -31,7 +30,6 @@ func TestNewConfig_WithoutEndureKey(t *testing.T) { assert.Equal(t, time.Second*30, c.GracePeriod) assert.False(t, c.PrintGraph) - assert.False(t, c.RetryOnFail) assert.Equal(t, endure.ErrorLevel, c.LogLevel) } diff --git a/internal/container/container_test.go b/internal/container/container_test.go index 9be043e2..210409d4 100644 --- a/internal/container/container_test.go +++ b/internal/container/container_test.go @@ -15,7 +15,6 @@ func TestNewContainer(t *testing.T) { // there is no legal way to test container c2, err2 := container.NewContainer(container.Config{ GracePeriod: time.Second, PrintGraph: true, - RetryOnFail: true, LogLevel: endure.WarnLevel, }) |