Skip to content

Commit 164f824

Browse files
committed
Allow cost estimate disabled for certain tests
1 parent f448f38 commit 164f824

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

helper_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1108,7 +1108,7 @@ func createPolicyCheckedRun(t *testing.T, client *Client, w *Workspace) (*Run, f
11081108
}
11091109

11101110
func createPlannedRun(t *testing.T, client *Client, w *Workspace) (*Run, func()) {
1111-
return createRunWaitForStatus(t, client, w, RunCostEstimated)
1111+
return createRunWaitForAnyStatuses(t, client, w, []RunStatus{RunCostEstimated, RunPlanned})
11121112
}
11131113

11141114
func createCostEstimatedRun(t *testing.T, client *Client, w *Workspace) (*Run, func()) {

0 commit comments

Comments
 (0)