Actions
Issue #1615
closedThe unit test client.commands.test_polling.PollingCommandTests.test_poll_single_task is non-deterministic
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
This unit test occasionally fails on different platforms. I've seen it fail in one run on F23, and in another run F23 passed by RHEL 6 failed. It happens often enough that it is a problem. Here is the traceback from Jenkies:
Traceback (most recent call last):
File "/usr/lib64/python2.6/unittest.py", line 278, in run
testMethod()
File "/home/jenkins/.virtualenvs/test/lib/python2.6/site-packages/mock.py", line 1201, in patched
return func(*args, **keywargs)
File "/home/jenkins/workspace/unittest-pulp-pr/node-type/rhel6-np/pulp/client_lib/test/unit/client/commands/test_polling.py", line 69, in test_poll_single_task
self.assertEqual(4, mock_sleep.call_count) # 2 for waiting, 2 for running
File "/usr/lib64/python2.6/unittest.py", line 349, in failUnlessEqual
(msg or '%r != %r' % (first, second))
AssertionError: 4 != 591
Updated by bmbouter about 5 years ago
- Status changed from NEW to CLOSED - WONTFIX
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