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",
|
||||
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,
|
||||
// },
|
||||
{
|
||||
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) {
|
||||
|
|
Loading…
Reference in New Issue