Skip to content

Commit

Permalink
Fix flaky TestVisibility (temporalio#2259)
Browse files Browse the repository at this point in the history
  • Loading branch information
yiminc authored Dec 3, 2021
1 parent 7257306 commit 827c922
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions host/workflow_visibility_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,11 @@ func (s *integrationSuite) TestVisibility() {
Namespace: s.namespace,
MaximumPageSize: 100,
StartTimeFilter: startFilter,
Filters: &workflowservice.ListClosedWorkflowExecutionsRequest_TypeFilter{
TypeFilter: &filterpb.WorkflowTypeFilter{
Name: wt,
},
},
})
s.NoError(err3)
closedCount = len(resp.Executions)
Expand All @@ -159,6 +164,11 @@ func (s *integrationSuite) TestVisibility() {
Namespace: s.namespace,
MaximumPageSize: 100,
StartTimeFilter: startFilter,
Filters: &workflowservice.ListOpenWorkflowExecutionsRequest_TypeFilter{
TypeFilter: &filterpb.WorkflowTypeFilter{
Name: wt,
},
},
})
s.NoError(err4)
openCount = len(resp.Executions)
Expand Down

0 comments on commit 827c922

Please sign in to comment.