@@ -0,0 +1,518 @@
+import parsl%0A%0A%0A@parsl.python_app%0Adef slow_app(delay):%0A    import time%0A    time.sleep(delay)%0A%0A%0Adef test_wait_for_tasks():%0A    slow_app(5)%0A    slow_app(10)  # This test has a higher task ID, and runs for a longer period%0A    slow_app(3)  # This test has a higher task ID, but runs for a shorter period%0A    parsl.dfk().wait_for_current_tasks()%0A    # the regression reported in #1606 is that wait_for_current_tasks%0A    # fails due to tasks being removed from the DFK tasks dict as they%0A    # complete, introduced in #1543.%0A

Add regression test for #1607 (#1614)