e2e: fixup windows artifact download test cases (#15710)

- fix wrong task name for one case
- comment out git windows test (still need to setup git on e2e windows client)
This commit is contained in:
Seth Hoenig
2023-01-06 12:38:48 -06:00
committed by GitHub
parent b72c79ebb9
commit 9db2d8a3fb
2 changed files with 6 additions and 2 deletions

View File

@@ -65,7 +65,10 @@ func testWindows(t *testing.T) {
check("rawexec", "rawexec_file_custom")
check("rawexec", "rawexec_zip_default")
check("rawexec", "rawexec_zip_custom")
check("rawexec", "rawexec_git_custom")
// todo(shoenig) needs git on windows
// https://github.com/hashicorp/nomad/issues/15505
// check("rawexec", "rawexec_git_custom")
}
func testLinux(t *testing.T) {

View File

@@ -8,7 +8,7 @@ job "windows" {
}
group "rawexec" {
task "rawexec" {
task "rawexec_file_default" {
artifact {
source = "https://raw.githubusercontent.com/hashicorp/go-set/main/go.mod"
}
@@ -75,6 +75,7 @@ job "windows" {
}
# TODO(shoenig) setup git in our Windows e2e client
# https://github.com/hashicorp/nomad/issues/15505
# task "rawexec_git_custom" {
# artifact {
# source = "git::https://github.com/hashicorp/go-set"