summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/test/suite/test_cursor_random.py
diff options
context:
space:
mode:
authorLucas de Castro Borges <lucas@gnuabordo.com.br>2025-02-11 15:07:35 -0300
committerLucas de Castro Borges <lucas@gnuabordo.com.br>2025-02-11 15:07:35 -0300
commit4cb8841196d0625dfa3825aa326f071cd27c7b8b (patch)
tree1682a647d4463397c119183369ae6f750d5fdcff /src/third_party/wiredtiger/test/suite/test_cursor_random.py
parentaa03c6362cbaa767638e6eed9b031d86dd2643d1 (diff)
parent8f0827553e09872941945a093b647a4211a9db7f (diff)
Update upstream source from tag 'upstream/6.0.0'master
Update to upstream version '6.0.0' with Debian dir 5604a80ec1c96ca76f25f40d78e6ef855abec322
Diffstat (limited to 'src/third_party/wiredtiger/test/suite/test_cursor_random.py')
-rw-r--r--src/third_party/wiredtiger/test/suite/test_cursor_random.py27
1 files changed, 1 insertions, 26 deletions
diff --git a/src/third_party/wiredtiger/test/suite/test_cursor_random.py b/src/third_party/wiredtiger/test/suite/test_cursor_random.py
index a339ea3d305..3b64532c036 100644
--- a/src/third_party/wiredtiger/test/suite/test_cursor_random.py
+++ b/src/third_party/wiredtiger/test/suite/test_cursor_random.py
@@ -26,7 +26,7 @@
# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
# OTHER DEALINGS IN THE SOFTWARE.
-import wiredtiger, wttest, sys
+import wiredtiger, wttest
from wtdataset import SimpleDataSet, ComplexDataSet, simple_key, simple_value
from wtscenario import make_scenarios
@@ -42,7 +42,6 @@ class test_cursor_random(wttest.WiredTigerTestCase):
('not-sample', dict(config='next_random=true'))
]
scenarios = make_scenarios(types, config)
- expected_warning_msg = 'Eviction took more than 1 minute'
# Check that opening a random cursor on a row-store returns not-supported
# for methods other than next, reconfigure and reset, and next returns
@@ -111,12 +110,6 @@ class test_cursor_random(wttest.WiredTigerTestCase):
list.append(cursor.get_key())
self.assertGreater(len(set(list)), 80)
- # Ignore the eviction generation drain warning as it is possible for eviction to
- # take longer to evict pages due to overflow items on the page.
- self.conn.close()
- if (sys.platform.startswith('darwin')):
- self.ignoreStdoutPatternIfExists(self.expected_warning_msg)
-
def test_cursor_random_multiple_insert_records_small(self):
self.cursor_random_multiple_insert_records(2000)
def test_cursor_random_multiple_insert_records_large(self):
@@ -144,12 +137,6 @@ class test_cursor_random(wttest.WiredTigerTestCase):
list.append(cursor.get_key())
self.assertGreater(len(set(list)), 80)
- # Ignore the eviction generation drain warning as it is possible for eviction to
- # take longer to evict pages due to overflow items on the page.
- self.conn.close()
- if (sys.platform.startswith('darwin')):
- self.ignoreStdoutPatternIfExists(self.expected_warning_msg)
-
def test_cursor_random_multiple_page_records_reopen_small(self):
self.cursor_random_multiple_page_records(2000, True)
def test_cursor_random_multiple_page_records_reopen_large(self):
@@ -182,12 +169,6 @@ class test_cursor_random(wttest.WiredTigerTestCase):
for i in range(1,10):
self.assertEqual(cursor.next(), 0)
- # Ignore the eviction generation drain warning as it is possible for eviction to
- # take longer to evict pages due to overflow items on the page.
- self.conn.close()
- if (sys.platform.startswith('darwin')):
- self.ignoreStdoutPatternIfExists(self.expected_warning_msg)
-
# Check that next_random fails in the presence of a set of values, all of
# which are deleted.
def test_cursor_random_deleted_all(self):
@@ -205,12 +186,6 @@ class test_cursor_random(wttest.WiredTigerTestCase):
for i in range(1,10):
self.assertTrue(cursor.next(), wiredtiger.WT_NOTFOUND)
- # Ignore the eviction generation drain warning as it is possible for eviction to
- # take longer to evict pages due to overflow items on the page.
- self.conn.close()
- if (sys.platform.startswith('darwin')):
- self.ignoreStdoutPatternIfExists(self.expected_warning_msg)
-
# Check that opening a random cursor on column-store returns not-supported.
class test_cursor_random_column(wttest.WiredTigerTestCase):
type_values = [