Skip to content

Commit

Permalink
Merge branch 'develop' into AN-142-cost-test
Browse files Browse the repository at this point in the history
  • Loading branch information
lucymcnatt authored Feb 12, 2025
2 parents 67ccddd + e5950a5 commit ca07382
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ trait BatchRequestExecutor {
}

object BatchRequestExecutor {
// The "from" state is *usually* RUNNING, but if a VM is quickly preempted it could be an earlier state like PENDING.
private val VM_PREEMPTION_PATTERN = Pattern.compile(
"failed due to the following task event: \"Task state is updated from RUNNING to FAILED on zones/\\S+ due to Spot VM preemption with exit code 50001.\""
"failed due to the following task event: \"Task state is updated from \\S+ to FAILED on zones/\\S+ due to Spot VM preemption with exit code 50001.\""
)

class CloudImpl(batchSettings: BatchServiceSettings) extends BatchRequestExecutor with LazyLogging {
Expand Down

0 comments on commit ca07382

Please sign in to comment.