Skip to content

Commit

Permalink
Fix flaky test (#1314)
Browse files Browse the repository at this point in the history
Fix assertion is TestNonDeterminismFailureCauseHistoryMismatch
  • Loading branch information
Quinn-With-Two-Ns authored Dec 4, 2023
1 parent 838121a commit eb05747
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2689,7 +2689,7 @@ func (ts *IntegrationTestSuite) testNonDeterminismFailureCause(historyMismatch b
ts.NoError(histErr)
ts.Equal(enumspb.WORKFLOW_TASK_FAILED_CAUSE_NON_DETERMINISTIC_ERROR, taskFailed.Cause)
taskFailedMetric = fetchMetrics()
ts.True(taskFailedMetric > 1)
ts.True(taskFailedMetric >= 1)
}

func (ts *IntegrationTestSuite) TestDeterminismUpsertSearchAttributesConditional() {
Expand Down

0 comments on commit eb05747

Please sign in to comment.