Skip to content

Commit 8f0d163

Browse files
committed
Remove debugging
1 parent c947a79 commit 8f0d163

File tree

2 files changed

+0
-59
lines changed

2 files changed

+0
-59
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -74,52 +74,6 @@ 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
12377
- run: poe test ${{matrix.pytestExtraArgs}} -s --junit-xml=junit-xml/${{ matrix.python }}--${{ matrix.os }}.xml
12478
timeout-minutes: 15
12579
# Time skipping doesn't yet support ARM

tests/worker/test_workflow.py

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

2933-
print("Waiting for waiting signal")
29342933
await assert_eq_eventually(True, waiting_signal)
2935-
print("Waited for waiting signal")
29362934

29372935
# Now start the worker again, but this time with a patched workflow
29382936
async with Worker(
@@ -2948,38 +2946,27 @@ async def waiting_signal() -> bool:
29482946
task_queue=task_queue,
29492947
)
29502948

2951-
print("Signalling")
2952-
29532949
# Need to wait until it has gotten halfway through, otherwise the post_patch workflow may never complete
29542950
async def waiting_signal() -> bool:
29552951
return await post_patch_handle.query(
29562952
PatchMemoizedWorkflowPatched.waiting_signal
29572953
)
29582954

2959-
print("Waiting for post patch waiting signal")
29602955
await assert_eq_eventually(True, waiting_signal)
2961-
print("Waited for post patch waiting signal")
29622956

29632957
# Send signal to both and check results
29642958
await pre_patch_handle.signal(PatchMemoizedWorkflowUnpatched.signal)
29652959
await post_patch_handle.signal(PatchMemoizedWorkflowPatched.signal)
29662960

2967-
print("Signalled")
2968-
29692961
# Confirm expected values
29702962
assert ["some-value"] == await pre_patch_handle.result()
29712963

2972-
print("Prepatch complete")
2973-
29742964
assert [
29752965
"pre-patch",
29762966
"some-value",
29772967
"post-patch",
29782968
] == await post_patch_handle.result()
29792969

2980-
print("Postpatch complete")
2981-
print("End test")
2982-
29832970

29842971
@workflow.defn
29852972
class UUIDWorkflow:

0 commit comments

Comments
 (0)