diff options
author | Alex Gorrod <alexander.gorrod@mongodb.com> | 2016-09-16 06:21:24 +0000 |
---|---|---|
committer | Alex Gorrod <alexander.gorrod@mongodb.com> | 2016-09-16 06:21:24 +0000 |
commit | 5bc03723a7e77c96b1d5e45a97173654872c727a (patch) | |
tree | f0d12b535fee95b721d8d046c3e4dfbfec0a91e2 /test/suite/test_stat02.py | |
parent | deeb0f589aab43f0d4b8d97755ed1e13808dcfab (diff) | |
parent | 03bbd9d3c9330a5b6e3cbd7d2db1ac7fea5e96bf (diff) | |
download | mongodb-3.3.13.tar.gz |
Merge branch 'develop' into mongodb-3.4mongodb-3.3.14mongodb-3.3.13
Diffstat (limited to 'test/suite/test_stat02.py')
-rw-r--r-- | test/suite/test_stat02.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/test/suite/test_stat02.py b/test/suite/test_stat02.py index ef3907e54b1..3d2a83d1c3c 100644 --- a/test/suite/test_stat02.py +++ b/test/suite/test_stat02.py @@ -78,7 +78,6 @@ class test_stat_cursor_config(wttest.WiredTigerTestCase): self.assertRaisesWithMessage(wiredtiger.WiredTigerError, lambda: self.session.open_cursor('statistics:', None, config), msg) - # Test the connection "clear" configuration. class test_stat_cursor_conn_clear(wttest.WiredTigerTestCase): pfx = 'test_stat_cursor_conn_clear' @@ -99,7 +98,6 @@ class test_stat_cursor_conn_clear(wttest.WiredTigerTestCase): self.assertGreater(cursor[stat.conn.cache_bytes_dirty][2], 0) self.assertEqual(cursor[stat.conn.cursor_insert][2], 0) - # Test the data-source "clear" configuration. class test_stat_cursor_dsrc_clear(wttest.WiredTigerTestCase): pfx = 'test_stat_cursor_dsrc_clear' @@ -129,7 +127,6 @@ class test_stat_cursor_dsrc_clear(wttest.WiredTigerTestCase): 'statistics:' + self.uri, None, 'statistics=(all,clear)') self.assertEqual(cursor[stat.dsrc.cursor_insert][2], 0) - # Test the "fast" configuration. class test_stat_cursor_fast(wttest.WiredTigerTestCase): pfx = 'test_stat_cursor_fast' @@ -157,7 +154,6 @@ class test_stat_cursor_fast(wttest.WiredTigerTestCase): 'statistics:' + self.uri, None, 'statistics=(all)') self.assertGreater(cursor[stat.dsrc.btree_entries][2], 0) - # Test connection error combinations. class test_stat_cursor_conn_error(wttest.WiredTigerTestCase): def setUpConnectionOpen(self, dir): @@ -173,7 +169,6 @@ class test_stat_cursor_conn_error(wttest.WiredTigerTestCase): self.assertRaisesWithMessage(wiredtiger.WiredTigerError, lambda: self.wiredtiger_open('.', config), msg) - # Test data-source error combinations. class test_stat_cursor_dsrc_error(wttest.WiredTigerTestCase): pfx = 'test_stat_cursor_dsrc_error' @@ -198,6 +193,5 @@ class test_stat_cursor_dsrc_error(wttest.WiredTigerTestCase): lambda: self.session.open_cursor( 'statistics:' + self.uri, None, config), msg) - if __name__ == '__main__': wttest.run() |