You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
682 Fix potential race condition where the future is cancelled before 'awaitTestResult' completes, which could leave resources in an inconsistent state
Copy file name to clipboardExpand all lines: server/libs/platform/platform-workflow/platform-workflow-test/platform-workflow-test-rest/src/main/java/com/bytechef/platform/workflow/test/web/rest/WorkflowTestApiController.java
+20-15Lines changed: 20 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,7 @@
38
38
importjava.util.List;
39
39
importjava.util.Map;
40
40
importjava.util.Objects;
41
+
importjava.util.concurrent.CancellationException;
41
42
importjava.util.concurrent.CompletableFuture;
42
43
importjava.util.concurrent.TimeUnit;
43
44
importjava.util.regex.Matcher;
@@ -159,7 +160,9 @@ public SseEmitter attachWorkflowTest(@PathVariable Long jobId) {
Copy file name to clipboardExpand all lines: server/libs/platform/platform-workflow/platform-workflow-test/platform-workflow-test-rest/src/test/java/com/bytechef/platform/workflow/test/web/rest/WorkflowTestApiControllerTest.java
0 commit comments