Skip to content

Commit

Permalink
Skip test affected by Pulp issue 3586
Browse files Browse the repository at this point in the history
>Filtering workers is indetermanistic

See: https://pulp.plan.io/issues/3586
  • Loading branch information
Kersom committed Apr 20, 2018
1 parent c03ce6e commit cbf5aea
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pulp_smash/tests/pulp3/pulpcore/api_v3/test_workers.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ class WorkersTestCase(unittest.TestCase, utils.SmokeTest):
@classmethod
def setUpClass(cls):
"""Create an API Client."""
cfg = config.get_config()
cls.client = api.Client(cfg, api.json_handler)
cls.cfg = config.get_config()
cls.client = api.Client(cls.cfg, api.json_handler)
cls.client.request_kwargs['auth'] = get_auth()
cls.worker = {}

Expand Down Expand Up @@ -64,6 +64,8 @@ def test_02_read_workers(self):
@selectors.skip_if(bool, 'worker', False)
def test_03_positive_filters(self):
"""Read a worker using a set of query parameters."""
if selectors.bug_is_untestable(3586, self.cfg.pulp_version):
raise unittest.SkipTest('https://pulp.plan.io/issues/3586')
page = self.client.get(WORKER_PATH, params={
'last_heartbeat__gte': self.worker['last_heartbeat'],
'name': self.worker['name'],
Expand Down

0 comments on commit cbf5aea

Please sign in to comment.