backport of commit bed29bf02f9ca01d615716bc0edab523717b79b3 (#17979)
This pull request was automerged via backport-assistant
This commit is contained in:
parent
c9ef870f96
commit
bff3663626
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue