Skip to content

Commit 6a98f8a

Browse files
Fix dataproc tests (#4379) (#2853)
Signed-off-by: Modular Magician <[email protected]>
1 parent f26f8b0 commit 6a98f8a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.changelog/4379.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
```release-note:none
2+
```

google-beta/resource_dataproc_job_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ func testAccCheckDataprocJobCompletesSuccessfully(t *testing.T, n string, job *d
352352
log.Printf("[ERROR] Job failed, driver logs:\n%s", body)
353353
}
354354
return fmt.Errorf("Job completed in ERROR state, check logs for details")
355-
} else if completeJob.Status.State != "DONE" {
355+
} else if completeJob.Status.State != "DONE" && completeJob.Status.State != "RUNNING" {
356356
return fmt.Errorf("Job did not complete successfully, instead status: %s", completeJob.Status.State)
357357
}
358358

0 commit comments

Comments
 (0)