summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2013-11-17 15:27:19 -0500
committerKeith Bostic <keith@wiredtiger.com>2013-11-17 15:27:19 -0500
commit4a2b30f7d70102a58f1855a89d452b490dd58157 (patch)
tree6ba0d7131f7eaff9272958f6bb51c17c1a9575dd
parentd6e6250981f4ae1377814a34a81c54f32b2c218c (diff)
downloadmongo-4a2b30f7d70102a58f1855a89d452b490dd58157.tar.gz
Update the test suite to match the statistics name changes.
-rw-r--r--test/suite/test_stat01.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/suite/test_stat01.py b/test/suite/test_stat01.py
index 3d743324565..95fbab3f609 100644
--- a/test/suite/test_stat01.py
+++ b/test/suite/test_stat01.py
@@ -83,13 +83,12 @@ class test_stat01(wttest.WiredTigerTestCase):
def test_basic_conn_stats(self):
self.printVerbose(2, 'overall database stats:')
allstat_cursor = self.session.open_cursor('statistics:', None, None)
- self.check_stats(
- allstat_cursor, 10, 'blocks written by the block manager')
+ self.check_stats(allstat_cursor, 10, 'block manager: blocks written')
# See that we can get a specific stat value by its key,
# and verify that its entry is self-consistent
values = allstat_cursor[stat.conn.block_write]
- self.assertEqual(values[0], 'blocks written by the block manager')
+ self.assertEqual(values[0], 'block manager: blocks written')
val = self.statstr_to_int(values[1])
self.assertEqual(val, values[2])
allstat_cursor.close()