Skip to content

Commit 17d74cf

Browse files
committed
Run the test a lot
1 parent 3fe7e42 commit 17d74cf

File tree

2 files changed

+55
-0
lines changed

2 files changed

+55
-0
lines changed

.github/workflows/ci.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,52 @@ jobs:
7474
- run: poe lint
7575
- run: poe build-develop
7676
- run: mkdir junit-xml
77+
- run: poe test ${{matrix.pytestExtraArgs}} -k "test_workflow_patch_memoized" -sv --junit-xml=junit-xml/${{ matrix.python }}--${{ matrix.os }}.xml
78+
timeout-minutes: 5
79+
- run: poe test ${{matrix.pytestExtraArgs}} -k "test_workflow_patch_memoized" -sv --junit-xml=junit-xml/${{ matrix.python }}--${{ matrix.os }}.xml
80+
timeout-minutes: 5
81+
- run: poe test ${{matrix.pytestExtraArgs}} -k "test_workflow_patch_memoized" -sv --junit-xml=junit-xml/${{ matrix.python }}--${{ matrix.os }}.xml
82+
timeout-minutes: 5
83+
- run: poe test ${{matrix.pytestExtraArgs}} -k "test_workflow_patch_memoized" -s --junit-xml=junit-xml/${{ matrix.python }}--${{ matrix.os }}.xml
84+
timeout-minutes: 5
85+
- run: poe test ${{matrix.pytestExtraArgs}} -k "test_workflow_patch_memoized" -sv --junit-xml=junit-xml/${{ matrix.python }}--${{ matrix.os }}.xml
86+
timeout-minutes: 5
87+
- run: poe test ${{matrix.pytestExtraArgs}} -k "test_workflow_patch_memoized" -sv --junit-xml=junit-xml/${{ matrix.python }}--${{ matrix.os }}.xml
88+
timeout-minutes: 5
89+
- run: poe test ${{matrix.pytestExtraArgs}} -k "test_workflow_patch_memoized" -sv --junit-xml=junit-xml/${{ matrix.python }}--${{ matrix.os }}.xml
90+
timeout-minutes: 5
91+
- run: poe test ${{matrix.pytestExtraArgs}} -k "test_workflow_patch_memoized" -sv --junit-xml=junit-xml/${{ matrix.python }}--${{ matrix.os }}.xml
92+
timeout-minutes: 5
93+
- run: poe test ${{matrix.pytestExtraArgs}} -k "test_workflow_patch_memoized" -sv --junit-xml=junit-xml/${{ matrix.python }}--${{ matrix.os }}.xml
94+
timeout-minutes: 5
95+
- run: poe test ${{matrix.pytestExtraArgs}} -k "test_workflow_patch_memoized" -sv --junit-xml=junit-xml/${{ matrix.python }}--${{ matrix.os }}.xml
96+
timeout-minutes: 5
97+
- run: poe test ${{matrix.pytestExtraArgs}} -k "test_workflow_patch_memoized" -sv --junit-xml=junit-xml/${{ matrix.python }}--${{ matrix.os }}.xml
98+
timeout-minutes: 5
99+
- run: poe test ${{matrix.pytestExtraArgs}} -k "test_workflow_patch_memoized" -sv --junit-xml=junit-xml/${{ matrix.python }}--${{ matrix.os }}.xml
100+
timeout-minutes: 5
101+
- run: poe test ${{matrix.pytestExtraArgs}} -k "test_workflow_patch_memoized" -sv --junit-xml=junit-xml/${{ matrix.python }}--${{ matrix.os }}.xml
102+
timeout-minutes: 5
103+
- run: poe test ${{matrix.pytestExtraArgs}} -k "test_workflow_patch_memoized" -sv --junit-xml=junit-xml/${{ matrix.python }}--${{ matrix.os }}.xml
104+
timeout-minutes: 5
105+
- run: poe test ${{matrix.pytestExtraArgs}} -k "test_workflow_patch_memoized" -sv --junit-xml=junit-xml/${{ matrix.python }}--${{ matrix.os }}.xml
106+
timeout-minutes: 5
107+
- run: poe test ${{matrix.pytestExtraArgs}} -k "test_workflow_patch_memoized" -sv --junit-xml=junit-xml/${{ matrix.python }}--${{ matrix.os }}.xml
108+
timeout-minutes: 5
109+
- run: poe test ${{matrix.pytestExtraArgs}} -k "test_workflow_patch_memoized" -sv --junit-xml=junit-xml/${{ matrix.python }}--${{ matrix.os }}.xml
110+
timeout-minutes: 5
111+
- run: poe test ${{matrix.pytestExtraArgs}} -k "test_workflow_patch_memoized" -sv --junit-xml=junit-xml/${{ matrix.python }}--${{ matrix.os }}.xml
112+
timeout-minutes: 5
113+
- run: poe test ${{matrix.pytestExtraArgs}} -k "test_workflow_patch_memoized" -sv --junit-xml=junit-xml/${{ matrix.python }}--${{ matrix.os }}.xml
114+
timeout-minutes: 5
115+
- run: poe test ${{matrix.pytestExtraArgs}} -k "test_workflow_patch_memoized" -sv --junit-xml=junit-xml/${{ matrix.python }}--${{ matrix.os }}.xml
116+
timeout-minutes: 5
117+
- run: poe test ${{matrix.pytestExtraArgs}} -k "test_workflow_patch_memoized" -sv --junit-xml=junit-xml/${{ matrix.python }}--${{ matrix.os }}.xml
118+
timeout-minutes: 5
119+
- run: poe test ${{matrix.pytestExtraArgs}} -k "test_workflow_patch_memoized" -sv --junit-xml=junit-xml/${{ matrix.python }}--${{ matrix.os }}.xml
120+
timeout-minutes: 5
121+
- run: poe test ${{matrix.pytestExtraArgs}} -k "test_workflow_patch_memoized" -sv --junit-xml=junit-xml/${{ matrix.python }}--${{ matrix.os }}.xml
122+
timeout-minutes: 5
77123
- run: poe test ${{matrix.pytestExtraArgs}} -s --junit-xml=junit-xml/${{ matrix.python }}--${{ matrix.os }}.xml
78124
timeout-minutes: 15
79125
# Time skipping doesn't yet support ARM

tests/worker/test_workflow.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2930,7 +2930,9 @@ async def waiting_signal() -> bool:
29302930
PatchMemoizedWorkflowUnpatched.waiting_signal
29312931
)
29322932

2933+
print("Waiting for waiting signal")
29332934
await assert_eq_eventually(True, waiting_signal)
2935+
print("Waited for waiting signal")
29342936

29352937
# Now start the worker again, but this time with a patched workflow
29362938
async with Worker(
@@ -2946,12 +2948,19 @@ async def waiting_signal() -> bool:
29462948
task_queue=task_queue,
29472949
)
29482950

2951+
print("Signalling")
2952+
29492953
# Send signal to both and check results
29502954
await pre_patch_handle.signal(PatchMemoizedWorkflowUnpatched.signal)
29512955
await post_patch_handle.signal(PatchMemoizedWorkflowPatched.signal)
29522956

2957+
print("Signalled")
2958+
29532959
# Confirm expected values
29542960
assert ["some-value"] == await pre_patch_handle.result()
2961+
2962+
print("Prepatch complete")
2963+
29552964
assert [
29562965
"pre-patch",
29572966
"some-value",

0 commit comments

Comments
 (0)