testing: skip exec stream child process test (#14601)

This test is broken in CircleCI only. It works on GHA in both 20.04 and 22.04
and has been verified to work on real Nomad; temporarily commenting-out so that
we don't block unrelated CI runs.

WIP to fix in https://github.com/hashicorp/nomad/pull/14600
This commit is contained in:
Tim Gross 2022-09-15 11:53:12 -04:00 committed by GitHub
parent 90d0b9157f
commit 7779936e4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 8 deletions

View File

@ -103,14 +103,18 @@ var ExecTaskStreamingBasicCases = []struct {
Stdout: "hello from stdin\r\nhello from stdin\r\n",
ExitCode: 0,
},
{
Name: "tty: children processes",
Command: "(( sleep 3; echo from background ) & ); echo from main; exec sleep 1",
Tty: true,
// when using tty; wait for lead process only, like `docker exec -it`
Stdout: "from main\r\n",
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
// 22.04 and has been verified to work on real Nomad; temporarily
// commenting-out so that we don't block unrelated CI runs.
// {
// Name: "tty: children processes",
// Command: "(( sleep 3; echo from background ) & ); echo from main; exec sleep 1",
// 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) {