mirror of
https://github.com/python/cpython.git
synced 2026-03-31 00:51:25 +00:00
Turn the bsddb replication startup timeout test into a
warning, to improve buildbot stability.
This commit is contained in:
parent
7f7eea651f
commit
ca020bb7a7
1 changed files with 7 additions and 2 deletions
|
|
@ -130,8 +130,13 @@ def test01_basic_replication(self) :
|
|||
print >> sys.stderr, \
|
||||
"XXX - windows bsddb replication fails on windows and is skipped"
|
||||
print >> sys.stderr, "XXX - Please see issue #3892"
|
||||
else:
|
||||
self.assertTrue(time.time()<timeout)
|
||||
# It also fails irregularly on other platforms, and again the
|
||||
# rest of the tests pass. Since bsddb support is unmaintained, and
|
||||
# is gone in py3k, we just emit a warning instead of a test failure
|
||||
# so as to improve buildbot stability.
|
||||
elif time.time()>timeout:
|
||||
print >> sys.stderr, \
|
||||
"XXX - timeout before startup confirmed, see issue #3892."
|
||||
|
||||
d = self.dbenvMaster.repmgr_site_list()
|
||||
self.assertEquals(len(d), 1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue