Project

Profile

Help

Issue #1679

closed

unit.server.async.test_scheduler.TestCeleryProcessTimeoutMonitorRun.test_sleeps is non-deterministic

Added by rbarlow about 8 years ago. Updated about 5 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

The unit.server.async.test_scheduler.TestCeleryProcessTimeoutMonitorRun.test_sleeps test can occasionally fail if the timing is off:

  File "/usr/lib64/python2.7/unittest/case.py", line 369, in run
    testMethod()
  File "/home/jenkins/.virtualenvs/test/lib/python2.7/site-packages/mock.py", line 1201, in patched
    return func(*args, **keywargs)
  File "/home/jenkins/workspace/unittest-pulp-pr/node-type/f23-np/pulp/server/test/unit/server/async/test_scheduler.py", line 406, in test_sleeps
    mock_sleep.assert_called_once_with(60)
  File "/home/jenkins/.virtualenvs/test/lib/python2.7/site-packages/mock.py", line 845, in assert_called_once_with
    raise AssertionError(msg)
'Expected to be called once. Called 2 times.\n-------------------- >> begin captured logging << --------------------\npulp.server.async.scheduler: INFO: Worker Timeout Monitor Started\n--------------------- >> end captured logging << ---------------------'
Actions #1

Updated by mhrivnak about 8 years ago

  • Triaged changed from No to Yes
Actions #2

Updated by bmbouter about 5 years ago

  • Status changed from NEW to CLOSED - WONTFIX
Actions #3

Updated by bmbouter about 5 years ago

Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.

Actions #4

Updated by bmbouter about 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF