mirror of
https://github.com/apple/foundationdb.git
synced 2025-05-14 18:02:31 +08:00
Merge pull request #5177 from oleg68/master-fix-no-trace-files-in-simulation-test
Fixed 'NoTraceFileGenerated' error in simulation tests when the fdbserver process could not start
This commit is contained in:
commit
f0bc23de8b
@ -536,7 +536,8 @@ namespace SummarizeTest
|
||||
consoleThread.Join();
|
||||
|
||||
var traceFiles = Directory.GetFiles(tempPath, "trace*.*").Where(s => s.EndsWith(".xml") || s.EndsWith(".json")).ToArray();
|
||||
if (traceFiles.Length == 0)
|
||||
// if no traces caused by the process failed then the result will include its stderr
|
||||
if (process.ExitCode == 0 && traceFiles.Length == 0)
|
||||
{
|
||||
if (!traceToStdout)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user