Skip to content

Commit

Permalink
e2e: use valid jobspec for group check test (hashicorp#6967)
Browse files Browse the repository at this point in the history
Group service checks cannot interpolate task fields, because the task
fields are not available at the time the script check hook is created
for the group service. When f31482a was merged this e2e test began
failing because we are now correctly matching the script check ID to
the service ID, which revealed this jobspec was invalid.
  • Loading branch information
tgross committed Jan 21, 2020
1 parent 1e62825 commit 0aa58b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/consul/input/checks_group.nomad
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ job "group_check" {
interval = "2s"
timeout = "2s"
command = "cat"
args = ["${NOMAD_TASK_DIR}/alive-2b"]
args = ["alive-2b"]
}
}

Expand Down

0 comments on commit 0aa58b9

Please sign in to comment.