Skip to content

Commit e75c5dc

Browse files
committed
Remove MMFile only journal rotation test
1 parent decba8b commit e75c5dc

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

tests/test_collection.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
CollectionPropertiesError,
1111
CollectionRenameError,
1212
CollectionRevisionError,
13-
CollectionRotateJournalError,
1413
CollectionStatisticsError,
1514
CollectionTruncateError,
1615
CollectionUnloadError,
@@ -89,17 +88,6 @@ def test_collection_misc_methods(col, bad_col, cluster):
8988
bad_col.unload()
9089
assert err.value.error_code in {11, 1228}
9190

92-
# Test rotate journal
93-
try:
94-
assert isinstance(col.rotate(), bool)
95-
except CollectionRotateJournalError as err:
96-
assert err.error_code in {404, 1105}
97-
98-
# Test rotate journal with bad collection
99-
with assert_raises(CollectionRotateJournalError) as err:
100-
bad_col.rotate()
101-
assert err.value.error_code in {11, 1228}
102-
10391
if cluster:
10492
col.insert({})
10593
else:

0 commit comments

Comments
 (0)