[New-bugs-announce] [issue17065] Fix sporadic buildbot failures for test_winreg

Jeremy Kloth report at bugs.python.org
Mon Jan 28 18:19:06 CET 2013


New submission from Jeremy Kloth:

test_winreg fails sporadically on the AMD64 Windows buildbot.  Looking at the test, it appears that concurrent runs of the test would fail if different processes attempted to modify the test key at the same time.

The attached patch resolves this by using a per-process unique test key name using the process ID.

----------
components: Tests
files: test_winreg.diff
keywords: patch
messages: 180863
nosy: jkloth
priority: normal
severity: normal
status: open
title: Fix sporadic buildbot failures for test_winreg
versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4, Python 3.5
Added file: http://bugs.python.org/file28883/test_winreg.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17065>
_______________________________________


More information about the New-bugs-announce mailing list