File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
impl/test/src/test/java/io/serverlessworkflow/impl/test Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1+ * text eol =lf
Original file line number Diff line number Diff line change @@ -101,8 +101,9 @@ void simpleWorkflow() throws IOException {
101101 assertThat (workflowCompletedEvent .output ()).isEqualTo (model .asJavaObject ());
102102 assertThat (workflowStartedEvent .startedAt ()).isBefore (workflowCompletedEvent .completedAt ());
103103 assertThat (taskCompletedEvent .output ()).isEqualTo (model .asJavaObject ());
104- assertThat (taskCompletedEvent .completedAt ()).isBefore (workflowCompletedEvent .completedAt ());
105- assertThat (taskStartedEvent .startedAt ()).isAfter (workflowStartedEvent .startedAt ());
104+ assertThat (taskCompletedEvent .completedAt ())
105+ .isBeforeOrEqualTo (workflowCompletedEvent .completedAt ());
106+ assertThat (taskStartedEvent .startedAt ()).isAfterOrEqualTo (workflowStartedEvent .startedAt ());
106107 assertThat (taskStartedEvent .startedAt ()).isBefore (taskCompletedEvent .completedAt ());
107108 }
108109
You can’t perform that action at this time.
0 commit comments