diff options
Diffstat (limited to 'test/suite/helper.py')
-rw-r--r-- | test/suite/helper.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/suite/helper.py b/test/suite/helper.py index 21eac2359b6..36792433cb7 100644 --- a/test/suite/helper.py +++ b/test/suite/helper.py @@ -81,7 +81,7 @@ def confirm_does_not_exist(self, uri): self.pr('confirm_does_not_exist: ' + uri) self.assertRaises(wiredtiger.WiredTigerError, lambda: self.session.open_cursor(uri, None)) - self.assertEqual(glob.glob('*' + uri.split(":")[1] + '*'), [], + self.assertEqual(glob.glob('*' + uri.split(":")[-1] + '*'), [], 'confirm_does_not_exist: URI exists, file name matching \"' + uri.split(":")[1] + '\" found') @@ -204,6 +204,9 @@ def complex_populate_type(self, uri, config, rows, type): cursor.insert() cursor.close() +def complex_populate_index_name(self, uri): + return 'index:' + uri.split(":")[1] + ':indx1' + def complex_populate_check_cursor(self, cursor, rows): i = 0 for key, s1, i2, s3, s4 in cursor: |