Add e2e tests for exec env createOrUpdate

This also adds a Nomad client to the e2e_tests that can be used to
query Nomad and validate that certain actions happened in Nomad
correctly.
This commit is contained in:
sirkrypt0
2021-05-27 10:11:43 +02:00
committed by Tobias Kantusch
parent 1be744f2d4
commit 1c4daa99a9
4 changed files with 175 additions and 2 deletions

View File

@ -11,6 +11,7 @@ const (
DefaultEnvironmentIdAsInteger = 0
DefaultEnvironmentIdAsString = "0"
AnotherEnvironmentIdAsInteger = 42
AnotherEnvironmentIdAsString = "42"
DefaultJobId = "s0m3-j0b-1d"
AnotherJobId = "4n0th3r-j0b-1d"
DefaultRunnerId = "s0m3-r4nd0m-1d"