abduljaleelak commented on code in PR #3872:
URL:
https://github.com/apache/incubator-kie-kogito-runtimes/pull/3872#discussion_r2016195269
##########
jbpm/jbpm-flow/src/test/java/org/jbpm/process/core/timer/DateTimeUtilsTest.java:
##########
@@ -135,7 +135,7 @@ public void testParseRepeatablePeriodOnly() {
assertThat(parsedRepeatable[0]).isEqualTo(-1L);
// Default delay time is 1000ms
- assertThat(parsedRepeatable[1]).isEqualTo(1000L);
Review Comment:
If we need to cover this targeted logic, we can add below junit
```
@Test
public void testDefaultDelay() {
String isoString = "R/PT0M";
long[] parsedRepeatable =
DateTimeUtils.parseRepeatableDateTime(isoString);
// Default delay time is 1000ms
assertThat(parsedRepeatable[1]).isEqualTo(1000L);
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]