-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Description
In the testing for v2.3.1 I ran into this error in the polyglot/mutation/insert.py2.6 subtest for interface.artificial_table on the-shadow. The exact same binary did not produce this error on our other MacOS X tester.
TEST FAILURE: line 159
FAILURE: unmatched keys from either side: set(['first_error'])
SOURCE: 'tbl.insert([{\'id\':666}, {\'id\':666}], return_changes="always")'
EXPECTED: {'changes': [{'new_val': {'id': 666}, 'old_val': None},
{'error': 'Duplicate primary key `id`:\n{\n\t"id":\t666\n}\n{\n\t"id":\t666\n}',
'new_val': {'id': 666},
'old_val': {'id': 666}}],
'deleted': 0,
'errors': 1,
'first_error': 'Duplicate primary key `id`:\n{\n\t"id":\t666\n}\n{\n\t"id":\t666\n}',
'inserted': 1,
'replaced': 0,
'skipped': 0,
'unchanged': 0}
RESULT: {'changes': [{'new_val': {'id': 666}, 'old_val': None}, {'new_val': {'id': 666}, 'old_val': None}],
'deleted': 0,
'errors': 0,
'inserted': 2,
'replaced': 0,
'skipped': 0,
'unchanged': 0}