Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
dmarkhas committed Jun 20, 2021
1 parent d9b6a77 commit 5a33dc6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions health_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ func TestRegisterCheckValidations(t *testing.T) {
hWithExecPeriod := New(ExecutionPeriod(1 * time.Minute))
defer hWithExecPeriod.DeregisterAll()

// should inherit the execution period from the health instance
assert.NoError(t, hWithExecPeriod.RegisterCheck(&checks.CustomCheck{CheckName: "non-empty"}))

}
Expand Down

0 comments on commit 5a33dc6

Please sign in to comment.