From a5abbd2c03a46bccfef1539953af02efc449ed94 Mon Sep 17 00:00:00 2001
From: Craig Tiller <ctiller@google.com>
Date: Tue, 22 Mar 2016 06:56:00 -0700
Subject: [PATCH] Mark mlog_test as flaky

---
 Makefile                   | 4 ++--
 build.yaml                 | 1 +
 tools/run_tests/tests.json | 2 +-
 3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile
index 33a61a3e0f..c3d5488e8c 100644
--- a/Makefile
+++ b/Makefile
@@ -1542,8 +1542,6 @@ test_c: buildtests_c
 	$(Q) $(BINDIR)/$(CONFIG)/lame_client_test || ( echo test lame_client_test failed ; exit 1 )
 	$(E) "[RUN]     Testing message_compress_test"
 	$(Q) $(BINDIR)/$(CONFIG)/message_compress_test || ( echo test message_compress_test failed ; exit 1 )
-	$(E) "[RUN]     Testing mlog_test"
-	$(Q) $(BINDIR)/$(CONFIG)/mlog_test || ( echo test mlog_test failed ; exit 1 )
 	$(E) "[RUN]     Testing multiple_server_queues_test"
 	$(Q) $(BINDIR)/$(CONFIG)/multiple_server_queues_test || ( echo test multiple_server_queues_test failed ; exit 1 )
 	$(E) "[RUN]     Testing murmur_hash_test"
@@ -1623,6 +1621,8 @@ test_c: buildtests_c
 flaky_test_c: buildtests_c
 	$(E) "[RUN]     Testing lb_policies_test"
 	$(Q) $(BINDIR)/$(CONFIG)/lb_policies_test || ( echo test lb_policies_test failed ; exit 1 )
+	$(E) "[RUN]     Testing mlog_test"
+	$(Q) $(BINDIR)/$(CONFIG)/mlog_test || ( echo test mlog_test failed ; exit 1 )
 
 
 test_cxx: test_zookeeper buildtests_cxx
diff --git a/build.yaml b/build.yaml
index e00ea75e26..97ee629453 100644
--- a/build.yaml
+++ b/build.yaml
@@ -1708,6 +1708,7 @@ targets:
   - gpr_test_util
   - gpr
 - name: mlog_test
+  flaky: true
   build: test
   language: c
   src:
diff --git a/tools/run_tests/tests.json b/tools/run_tests/tests.json
index ef361ea47a..4873026e53 100644
--- a/tools/run_tests/tests.json
+++ b/tools/run_tests/tests.json
@@ -1335,7 +1335,7 @@
     ], 
     "cpu_cost": 1.0, 
     "exclude_configs": [], 
-    "flaky": false, 
+    "flaky": true, 
     "gtest": false, 
     "language": "c", 
     "name": "mlog_test", 
-- 
GitLab