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:
Andrew Noyes 2021-07-19 11:22:26 -07:00 committed by GitHub
commit f0bc23de8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
{