mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 02:15:43 +03:00
Fixing the test
This commit is contained in:
@@ -13,7 +13,7 @@ func TestTaskRunner_ServiceRestartCounter(t *testing.T) {
|
||||
rt.increment()
|
||||
rt.increment()
|
||||
rt.increment()
|
||||
actual, when := rt.nextRestart()
|
||||
actual, _ := rt.nextRestart()
|
||||
if !actual {
|
||||
t.Fatalf("Expect %v, Actual: %v", true, actual)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user