From 44a9f06ccf77cc74f75c664d4642dc8fbf80de85 Mon Sep 17 00:00:00 2001 From: behackett Date: Mon, 19 Nov 2012 17:32:33 -0800 Subject: [PATCH] Skip fsync_lock test with 2.3.x master/slave. --- test/test_connection.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/test_connection.py b/test/test_connection.py index 307277d08..8eed62567 100644 --- a/test/test_connection.py +++ b/test/test_connection.py @@ -459,6 +459,11 @@ class TestConnection(unittest.TestCase, TestRequestMixin): c = get_connection() if is_mongos(c): raise SkipTest('fsync/lock not supported by mongos') + + res = c.admin.command('getCmdLineOpts') + if '--master' in res['argv'] and version.at_least(c, (2, 3, 0)): + raise SkipTest('SERVER-7714') + self.assertFalse(c.is_locked) # async flushing not supported on windows... if sys.platform not in ('cygwin', 'win32'):