mirror of
https://github.com/apple/foundationdb.git
synced 2025-05-15 10:22:20 +08:00
Fixed 'NoTraceFileGenerated' error in simulation tests when fdbserver process could not start
This commit is contained in:
parent
e0f3b2718a
commit
04549c59ed
@ -536,7 +536,7 @@ namespace SummarizeTest
|
|||||||
consoleThread.Join();
|
consoleThread.Join();
|
||||||
|
|
||||||
var traceFiles = Directory.GetFiles(tempPath, "trace*.*").Where(s => s.EndsWith(".xml") || s.EndsWith(".json")).ToArray();
|
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)
|
if (!traceToStdout)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user