backport of commit bed29bf02f9ca01d615716bc0edab523717b79b3 (#17979)

This pull request was automerged via backport-assistant
This commit is contained in:
hc-github-team-nomad-core 2023-07-19 09:16:55 -05:00 committed by GitHub
parent c9ef870f96
commit bff3663626
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 12 deletions

View File

@ -105,18 +105,14 @@ var ExecTaskStreamingBasicCases = []struct {
Stdout: "hello from stdin\r\nhello from stdin\r\n", Stdout: "hello from stdin\r\nhello from stdin\r\n",
ExitCode: 0, ExitCode: 0,
}, },
// t.Skip: https://github.com/hashicorp/nomad/pull/14600 {
// This test is broken in CircleCI only. It works on GHA in both 20.04 and Name: "tty: children processes",
// 22.04 and has been verified to work on real Nomad; temporarily Command: "(( sleep 3; echo from background ) & ); echo from main; exec sleep 1",
// commenting-out so that we don't block unrelated CI runs. Tty: true,
// { // when using tty; wait for lead process only, like `docker exec -it`
// Name: "tty: children processes", Stdout: "from main\r\n",
// Command: "(( sleep 3; echo from background ) & ); echo from main; exec sleep 1", ExitCode: 0,
// Tty: true, },
// // when using tty; wait for lead process only, like `docker exec -it`
// Stdout: "from main\r\n",
// ExitCode: 0,
// },
} }
func TestExecTaskStreamingBasicResponses(t *testing.T, driver *DriverHarness, taskID string) { func TestExecTaskStreamingBasicResponses(t *testing.T, driver *DriverHarness, taskID string) {