Skip to content

Commit 3612add

Browse files
Added more test cases
1 parent f631103 commit 3612add

File tree

1 file changed

+3
-1
lines changed
  • keps/sig-node/4818-allow-zero-value-for-sleep-action-of-prestop-hook

1 file changed

+3
-1
lines changed

keps/sig-node/4818-allow-zero-value-for-sleep-action-of-prestop-hook/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,9 @@ extending the production code to implement this enhancement.
296296
Alpha:
297297

298298
- Test that the runSleepHandler function returns immediately when given a duration of zero.
299-
- Test that the validation returns an error when given an invalid duration value (e.g., a negative value).
299+
- Test that the validation succeeds when given a zero duration with the feature gate enabled.
300+
- Test that the validation fails when given a zero duration with the feature gate disabled.
301+
- Test that the validation returns the appropriate error messages when given an invalid duration value (e.g., a negative value) with the feature gate disabled and enabled.
300302

301303
Current coverages:
302304

0 commit comments

Comments
 (0)