|
24 | 24 | /** |
25 | 25 | * Validation test for the interrupted activity completion fix. |
26 | 26 | * |
27 | | - * <p>This test demonstrates that the fix for https://github.com/temporalio/sdk-java/issues/731 is |
28 | | - * working correctly. Before the fix, activities that returned with the interrupted flag set would |
29 | | - * fail to report their results due to gRPC call failures. |
| 27 | + * <p>This test demonstrates that the fix for https://github.com/temporalio/sdk-java/issues/731 is working correctly. |
| 28 | + * Before the fix, activities that returned with the interrupted flag set would fail to report their results |
| 29 | + * due to gRPC call failures. |
30 | 30 | * |
31 | | - * <p>The fix was applied in ActivityWorker.sendReply() method to temporarily clear the interrupted |
32 | | - * flag during gRPC calls and restore it afterward. |
| 31 | + * <p>The fix was applied in ActivityWorker.sendReply() method to temporarily clear the interrupted flag |
| 32 | + * during gRPC calls and restore it afterward. |
33 | 33 | */ |
34 | 34 | public class InterruptedActivityCompletionValidationTest { |
35 | 35 |
|
@@ -59,9 +59,11 @@ public interface TestActivity { |
59 | 59 | /** |
60 | 60 | * This test validates that the fix is working by demonstrating that: |
61 | 61 | * |
62 | | - * <p>1. An activity can set the interrupted flag and still return a result 2. The result is |
63 | | - * successfully reported to the Temporal server 3. The workflow completes with the expected result |
64 | | - * 4. The activity completion is properly recorded in the workflow history |
| 62 | + * <p> |
| 63 | + * 1. An activity can set the interrupted flag and still return a result |
| 64 | + * 2. The result is successfully reported to the Temporal server |
| 65 | + * 3. The workflow completes with the expected result |
| 66 | + * 4. The activity completion is properly recorded in the workflow history |
65 | 67 | * |
66 | 68 | * <p>Before the fix: This test would fail with CancellationException during gRPC calls After the |
67 | 69 | * fix: This test passes, proving activities can complete despite interrupted flag |
|
0 commit comments