Skip to content

Commit 44a9f06

Browse files
committed
Skip fsync_lock test with 2.3.x master/slave.
1 parent 139459b commit 44a9f06

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/test_connection.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,11 @@ def test_fsync_lock_unlock(self):
459459
c = get_connection()
460460
if is_mongos(c):
461461
raise SkipTest('fsync/lock not supported by mongos')
462+
463+
res = c.admin.command('getCmdLineOpts')
464+
if '--master' in res['argv'] and version.at_least(c, (2, 3, 0)):
465+
raise SkipTest('SERVER-7714')
466+
462467
self.assertFalse(c.is_locked)
463468
# async flushing not supported on windows...
464469
if sys.platform not in ('cygwin', 'win32'):

0 commit comments

Comments
 (0)