Skip to content

Commit

Permalink
Merge pull request ceph#35012 from tchaikov/wip-45147
Browse files Browse the repository at this point in the history
qa/tasks/mgr: skip test_diskprediction_local on python>=3.8

Reviewed-by: Yuri Weinstein <[email protected]>
Reviewed-by: Josh Durgin <[email protected]>
  • Loading branch information
tchaikov committed May 27, 2020
2 parents 1b72cb4 + 31704b3 commit b01b58c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions qa/tasks/mgr/test_module_selftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
import requests
import errno
import logging
import sys

from teuthology.exceptions import CommandFailedError

from .mgr_test_case import MgrTestCase
Expand Down Expand Up @@ -50,6 +52,10 @@ def test_influx(self):
self._selftest_plugin("influx")

def test_diskprediction_local(self):
if sys.version_info >= (3, 8):
# https://tracker.ceph.com/issues/45147
python_version = f'python {sys.version_info.major}.{sys.version_info.minor}'
self.skipTest(f'{python_version} not compatible with diskprediction_local')
self._selftest_plugin("diskprediction_local")

# Not included in qa/packages/packages.yaml
Expand Down

0 comments on commit b01b58c

Please sign in to comment.