Skip to content

Commit

Permalink
IWF-136: Increase sleep time for continueAsNew tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lwolczynski committed Sep 30, 2024
1 parent 45daed5 commit 1eaec30
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions integ/persistence_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,11 @@ func doTestPersistenceWorkflow(
_, httpResp, err := reqStart.WorkflowStartRequest(wfReq).Execute()
panicAtHttpError(err, httpResp)

// TODO: Fix the issue with running queryHandler before new workflow which Continues as New has started
time.Sleep(time.Millisecond * 10)
// Config is only present for continueAsNew tests
if config != nil {
// TODO: Fix the issue with running queryHandler before new workflow which Continues as New has started
time.Sleep(time.Millisecond * 100)
}

initReqQry := apiClient.DefaultApi.ApiV1WorkflowDataobjectsGetPost(context.Background())
queryResult, httpResp, err := initReqQry.WorkflowGetDataObjectsRequest(iwfidl.WorkflowGetDataObjectsRequest{
Expand Down

0 comments on commit 1eaec30

Please sign in to comment.