tests are passing now w/ burnettk

This commit is contained in:
jasquat 2023-01-27 13:20:22 -05:00
parent a39aca6a4c
commit 5970b1e35f
5 changed files with 7 additions and 8 deletions

View File

@ -1304,9 +1304,9 @@ class ProcessInstanceProcessor:
continue continue
# timer events are not related to messaging, so ignore them for these purposes # timer events are not related to messaging, so ignore them for these purposes
if waiting_task.task_spec.event_definition.__class__.__name__ in [ if waiting_task.task_spec.event_definition.__class__.__name__.endswith(
"TimerEventDefinition", "TimerEventDefinition"
]: ):
continue continue
message_model = MessageModel.query.filter_by( message_model = MessageModel.query.filter_by(

View File

@ -41,7 +41,7 @@
<bpmn:incoming>Flow_1vld4r2</bpmn:incoming> <bpmn:incoming>Flow_1vld4r2</bpmn:incoming>
<bpmn:outgoing>Flow_13ai5vv</bpmn:outgoing> <bpmn:outgoing>Flow_13ai5vv</bpmn:outgoing>
<bpmn:timerEventDefinition id="TimerEventDefinition_1fnogr9"> <bpmn:timerEventDefinition id="TimerEventDefinition_1fnogr9">
<bpmn:timeDuration xsi:type="bpmn:tFormalExpression">timedelta(hours=1)</bpmn:timeDuration> <bpmn:timeDuration xsi:type="bpmn:tFormalExpression">"PT1H"</bpmn:timeDuration>
</bpmn:timerEventDefinition> </bpmn:timerEventDefinition>
</bpmn:intermediateCatchEvent> </bpmn:intermediateCatchEvent>
<bpmn:manualTask id="Activity_0uum4kq" name="Any Task"> <bpmn:manualTask id="Activity_0uum4kq" name="Any Task">

View File

@ -244,7 +244,7 @@ Order Total: {{ order_total }}
<bpmn:incoming>Flow_08d8k7v</bpmn:incoming> <bpmn:incoming>Flow_08d8k7v</bpmn:incoming>
<bpmn:outgoing>Flow_1570y49</bpmn:outgoing> <bpmn:outgoing>Flow_1570y49</bpmn:outgoing>
<bpmn:timerEventDefinition id="TimerEventDefinition_0hwvz0g"> <bpmn:timerEventDefinition id="TimerEventDefinition_0hwvz0g">
<bpmn:timeDuration xsi:type="bpmn:tFormalExpression">timedelta(seconds=10)</bpmn:timeDuration> <bpmn:timeDuration xsi:type="bpmn:tFormalExpression">"PT10S"</bpmn:timeDuration>
</bpmn:timerEventDefinition> </bpmn:timerEventDefinition>
</bpmn:intermediateCatchEvent> </bpmn:intermediateCatchEvent>
<bpmn:sequenceFlow id="Flow_1570y49" sourceRef="Event_1lwrxto" targetRef="Activity_1f2e8xi" /> <bpmn:sequenceFlow id="Flow_1570y49" sourceRef="Event_1lwrxto" targetRef="Activity_1f2e8xi" />
@ -315,7 +315,7 @@ Order Total: {{ order_total }}
<bpmn:boundaryEvent id="Event_05ljcvh" name="Order Delayed" cancelActivity="false" attachedToRef="Activity_0gol5af"> <bpmn:boundaryEvent id="Event_05ljcvh" name="Order Delayed" cancelActivity="false" attachedToRef="Activity_0gol5af">
<bpmn:outgoing>Flow_1ny6y69</bpmn:outgoing> <bpmn:outgoing>Flow_1ny6y69</bpmn:outgoing>
<bpmn:timerEventDefinition id="TimerEventDefinition_1ll0ob4"> <bpmn:timerEventDefinition id="TimerEventDefinition_1ll0ob4">
<bpmn:timeDuration xsi:type="bpmn:tFormalExpression">timedelta(minutes=1)</bpmn:timeDuration> <bpmn:timeDuration xsi:type="bpmn:tFormalExpression">"PT1M"</bpmn:timeDuration>
</bpmn:timerEventDefinition> </bpmn:timerEventDefinition>
</bpmn:boundaryEvent> </bpmn:boundaryEvent>
<bpmn:boundaryEvent id="Event_0qk2468" name="Handle Product Unavailable" attachedToRef="Activity_0gol5af"> <bpmn:boundaryEvent id="Event_0qk2468" name="Handle Product Unavailable" attachedToRef="Activity_0gol5af">

View File

@ -13,7 +13,7 @@
<bpmn:incoming>Flow_109wuuc</bpmn:incoming> <bpmn:incoming>Flow_109wuuc</bpmn:incoming>
<bpmn:outgoing>Flow_0cy1fiy</bpmn:outgoing> <bpmn:outgoing>Flow_0cy1fiy</bpmn:outgoing>
<bpmn:timerEventDefinition id="TimerEventDefinition_1al5gzu"> <bpmn:timerEventDefinition id="TimerEventDefinition_1al5gzu">
<bpmn:timeDuration xsi:type="bpmn:tFormalExpression">timedelta(seconds=30)</bpmn:timeDuration> <bpmn:timeDuration xsi:type="bpmn:tFormalExpression">"PT30S"</bpmn:timeDuration>
</bpmn:timerEventDefinition> </bpmn:timerEventDefinition>
</bpmn:intermediateCatchEvent> </bpmn:intermediateCatchEvent>
</bpmn:process> </bpmn:process>

View File

@ -2755,7 +2755,6 @@ class TestProcessApi(BaseTest):
content_type="application/json", content_type="application/json",
data=json.dumps(data), data=json.dumps(data),
) )
print(f"response.json: {response.json}")
assert response.json["status"] == "complete" assert response.json["status"] == "complete"
response = client.get( response = client.get(