summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2014-07-30 12:16:57 -0400
committerKeith Bostic <keith@wiredtiger.com>2014-07-30 12:16:57 -0400
commite7390895087e8083b3270908aefcc1fa9dd0d7a8 (patch)
treef659d632813fa0d2f71ccc566d3f5ecd1095950e /test
parent9241ea1b094518100a421bef3d25270700305809 (diff)
downloadmongo-e7390895087e8083b3270908aefcc1fa9dd0d7a8.tar.gz
The change in 0ffb202, it's not sufficient. Yank the test, it's not
interesting enough to keep.
Diffstat (limited to 'test')
-rw-r--r--test/suite/test_bulk01.py22
1 files changed, 1 insertions, 21 deletions
diff --git a/test/suite/test_bulk01.py b/test/suite/test_bulk01.py
index 5866eff57d0..2c71b76267d 100644
--- a/test/suite/test_bulk01.py
+++ b/test/suite/test_bulk01.py
@@ -66,8 +66,7 @@ class test_bulk_load(wttest.WiredTigerTestCase):
cursor.close()
-# Test that out-of-order insert in a row-store fails by default, but
-# works if key order validation is turned off.
+# Test that out-of-order insert in a row-store fails.
class test_bulk_load_row_order(wttest.WiredTigerTestCase):
name = 'test_bulk'
@@ -89,25 +88,6 @@ class test_bulk_load_row_order(wttest.WiredTigerTestCase):
self.assertRaisesWithMessage(wiredtiger.WiredTigerError,
lambda: cursor.insert(), msg)
- def test_bulk_load_row_order_nocheck(self):
- uri = self.type + self.name
- self.session.create(uri, 'key_format=S,value_format=S')
- cursor = self.session.open_cursor(uri, None, "bulk,skip_sort_check")
- cursor.set_key(key_populate(cursor, 10))
- cursor.set_value(value_populate(cursor, 10))
- cursor.insert()
- cursor.set_key(key_populate(cursor, 1))
- cursor.set_value(value_populate(cursor, 1))
- cursor.insert()
-
- if not self.conn.diagnostic_build():
- self.skipTest('requires a diagnostic build')
-
- # Close explicitly, there's going to be a fallure.
- msg = '/are incorrectly sorted/'
- self.assertRaisesWithMessage(wiredtiger.WiredTigerError,
- lambda: self.conn.close(), msg)
-
# Test that inserting into the file blocks a subsequent bulk-load.
class test_bulk_load_not_empty(wttest.WiredTigerTestCase):