Files
nomad/e2e/operator_scheduler/input/basic.nomad
Michael Schurter 9fefc18b77 e2e fixes: cli output, timing issue, and some cleanups (#16418)
* e2e: job expects alloc to run until stopped

* e2e: fix case changed by #16306

* e2e: couldn't find a bug but improved test+jobspecs
2023-03-10 13:14:51 -08:00

22 lines
332 B
HCL

job "operator_scheduler" {
datacenters = ["dc1"]
type = "batch"
constraint {
attribute = "${attr.kernel.name}"
value = "linux"
}
group "operator_scheduler" {
task "test" {
driver = "raw_exec"
config {
command = "bash"
args = ["-c", "sleep 30"]
}
}
}
}