diff --git a/flow/Trace.cpp b/flow/Trace.cpp index de93602da8..dbfa36ea42 100644 --- a/flow/Trace.cpp +++ b/flow/Trace.cpp @@ -473,7 +473,11 @@ public: barriers->push(f); writer->post( new WriterThread::Barrier ); - f.getBlocking(); + if (g_network->isSimulated()) { + ASSERT(f.isReady()); + } else { + f.getBlocking(); + } opened = false; }