Issue2711

classification
Title: Dictionaries fail test of atomicity
Type: behaviour Severity: normal
Components: Core Versions: Jython 2.7
Milestone:
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: jeff.allen
Priority: normal Keywords: Java Roadmap, test failure causes

Created on 2018-10-25.22:45:49 by jeff.allen, last changed 2018-10-26.18:18:22 by jeff.allen.

Messages
msg12158 (view) Author: Jeff Allen (jeff.allen) Date: 2018-10-25.22:45:47
Tests in test_dict and test_dict_jy fail as follows on versions from Java 9. I'm raising this issue to track the failure, while inserting skips to turn the bots green.


======================================================================
FAIL: test_setdefault_atomic (__main__.PyStringMapTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Users\Jeff\Documents\Eclipse-O\jython-jvm9\dist\Lib\test\test_dict.py", line 339, in test_setdefault_atomic
    self.assertEqual(hashed1.eq_count + hashed2.eq_count, 1)
AssertionError: 2 != 1


======================================================================
FAIL: test_setdefault_atomic (__main__.DictTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Users\Jeff\Documents\Eclipse-O\jython-jvm9\dist\Lib\test\test_dict.py", line 339, in test_setdefault_atomic
    self.assertEqual(hashed1.eq_count + hashed2.eq_count, 1)
AssertionError: 2 != 1
msg12159 (view) Author: Jeff Allen (jeff.allen) Date: 2018-10-26.18:18:22
Skipped on Java 9+ for now in: https://hg.python.org/jython/rev/5aa64ce0b8b8
History
Date User Action Args
2018-10-26 18:18:22jeff.allensetmessages: + msg12159
2018-10-25 22:45:49jeff.allencreate