From 82c63dd1014d900774991b649bcffa8996893dab Mon Sep 17 00:00:00 2001 From: Xin Dong Date: Thu, 21 Nov 2019 15:51:42 -0800 Subject: [PATCH] Fix macOS build failure --- fdbserver/StorageMetrics.actor.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fdbserver/StorageMetrics.actor.h b/fdbserver/StorageMetrics.actor.h index 158a2be297..bc219aa314 100644 --- a/fdbserver/StorageMetrics.actor.h +++ b/fdbserver/StorageMetrics.actor.h @@ -229,7 +229,9 @@ struct StorageServerMetrics { if (!notifyMetrics.allZero()) { auto& v = waitMetricsMap[key]; for(int i=0; iisSimulated()) TEST( true ); + if (g_network->isSimulated()) { + TEST(true); + } // ShardNotifyMetrics v[i].send( notifyMetrics ); }