-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c0c6d96
commit fb789a2
Showing
4 changed files
with
51 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Copyright (c) HashiCorp, Inc. | ||
# SPDX-License-Identifier: BUSL-1.1 | ||
|
||
quality "nomad_agent_info" { | ||
description = "A GET call to /v1/agent/members returns the correct number of | ||
running servers and they are all alive" | ||
} | ||
|
||
quality "nomad_agent_info_self" { | ||
description = "A GET call to /v1/agent/self against every server returns the | ||
same last_log_index for all of them." | ||
} | ||
|
||
quality "nomad_nodes_status" { | ||
description = "A GET call to /v1/nodes returns the correct number of clients | ||
and they are all `eligible` and `ready`". | ||
} | ||
|
||
quality "nomad_job_status" { | ||
description = "A GET call to /v1/jobs returns the correct number of jobs and | ||
they are all `running`". | ||
} | ||
|
||
quality "nomad_register_job" { | ||
description = "A POST call to /v1/jobs results in a new job running and | ||
allocations being started accordingly." | ||
} | ||
|
||
quality "nomad_reschedule_alloc" { | ||
description = "A POST / PUT call to /v1/allocation/:alloc_id/stop results in | ||
the stopped allocation being rescheduled" | ||
} | ||
|
||
|
||
quality "nomad_restore_snapshot" { | ||
description = "A node can be restored from a snapshot built on a previous | ||
version" | ||
} | ||
|
||
quality "nomad_allocs_status" { | ||
description = "A GET call to /v1/allocs returns the correct number of | ||
allocations and they are all `running`". | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,4 +29,4 @@ resource "enos_local_exec" "install_binary" { | |
} | ||
|
||
scripts = [abspath("${path.module}/scripts/install.sh")] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters