PYTHON-1188 - Skip test if no replset.
This commit is contained in:
parent
1600059015
commit
f7dc88ca7f
@ -280,6 +280,7 @@ class TestMaxStaleness(unittest.TestCase):
|
||||
self.assertIn("must be greater than 0", str(ctx[0]))
|
||||
|
||||
@client_context.require_version_min(3, 3, 6) # SERVER-8858
|
||||
@client_context.require_replica_set
|
||||
def test_last_write_date(self):
|
||||
# From max-staleness-tests.rst, "Parse lastWriteDate".
|
||||
client = rs_or_single_client(heartbeatFrequencyMS=500)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user