Fixed 'NoTraceFileGenerated' error in simulation tests when fdbserver process could not start

This commit is contained in:
Oleg Samarin 2021-07-14 13:45:00 +03:00
parent e0f3b2718a
commit 04549c59ed

View File

@ -536,7 +536,7 @@ namespace SummarizeTest
consoleThread.Join();
var traceFiles = Directory.GetFiles(tempPath, "trace*.*").Where(s => s.EndsWith(".xml") || s.EndsWith(".json")).ToArray();
if (traceFiles.Length == 0)
if (process.ExitCode == 0 && traceFiles.Length == 0)
{
if (!traceToStdout)
{