зеркало из https://github.com/microsoft/BuildXL.git
Merged PR 631839: Fix PipChildProcessSurvives tests
This test is failing consistently for me locally. I suspect the behavior of `cmd /k` may have changed or something like that Related work items: #1881970
This commit is contained in:
Родитель
dbd89c4097
Коммит
8d0ba4ef96
|
@ -1680,7 +1680,7 @@ namespace Test.BuildXL.Processes.Detours
|
|||
AbsolutePath workingDirectoryAbsolutePath = AbsolutePath.Create(context.PathTable, TestOutputDirectory);
|
||||
|
||||
var arguments = new PipDataBuilder(context.PathTable.StringTable);
|
||||
arguments.Add("/d /c start /B " + CmdHelper.CmdX64 + " /k"); // Starts child process that hangs on console input and has to be killed by job object.
|
||||
arguments.Add("/d /c start /B " + CmdHelper.CmdX64 + " /C timeout 1000 > NUL"); // Starts child process that 'hangs' and has to be killed by job object.
|
||||
|
||||
var pip = new Process(
|
||||
executableFileArtifact,
|
||||
|
@ -1749,7 +1749,7 @@ namespace Test.BuildXL.Processes.Detours
|
|||
AbsolutePath workingDirectoryAbsolutePath = AbsolutePath.Create(context.PathTable, TestOutputDirectory);
|
||||
|
||||
var arguments = new PipDataBuilder(context.PathTable.StringTable);
|
||||
arguments.Add("/d /c start /B " + CmdHelper.CmdX64 + " /k"); // Starts child process that hangs on console input and has to be killed by job object.
|
||||
arguments.Add("/d /c start /B " + CmdHelper.CmdX64 + " /C timeout 1000 > NUL"); // Starts child process that 'hangs' and has to be killed by job object.
|
||||
|
||||
var pip = new Process(
|
||||
executableFileArtifact,
|
||||
|
|
Загрузка…
Ссылка в новой задаче