Keep track of previous started event ID

Closes #2107

Signed-off-by: Laurie O <laurie_opperman@hotmail.com>
This commit is contained in:
Laurie O 2020-02-26 01:08:03 +10:00
commit 209c999706
No known key found for this signature in database
GPG key ID: AAA23A02196FC956
4 changed files with 31 additions and 3 deletions

View file

@ -30,9 +30,10 @@ def test_decision_task_full_dict_representation():
fd["workflowExecution"].should.equal(wfe.to_short_dict())
fd["workflowType"].should.equal(wft.to_short_dict())
dt.start(1234)
dt.start(1234, 1230)
fd = dt.to_full_dict()
fd["startedEventId"].should.equal(1234)
fd["previousStartedEventId"].should.equal(1230)
def test_decision_task_first_timeout():