We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ddfe70 commit 35ad670Copy full SHA for 35ad670
1 file changed
transact/src/test/java/dev/dbos/transact/workflow/ForkTest.java
@@ -448,6 +448,10 @@ public void testParentChildAsyncFork() throws Exception {
448
assertNull(handle.getStatus().forkedFrom());
449
assertFalse(handle.getStatus().wasForkedFrom());
450
451
+ // child1 and child2 are fire-and-forget; wait for them before asserting counts
452
+ dbos.retrieveWorkflow("child1").getResult();
453
+ dbos.retrieveWorkflow("child2").getResult();
454
+
455
assertEquals(1, impl.step1Count);
456
assertEquals(1, impl.step2Count);
457
assertEquals(1, impl.child1Count);
0 commit comments