Skip to content

Commit

Permalink
qa/tasks/mgr: skip test_diskprediction_local on python>=3.8
Browse files Browse the repository at this point in the history
See-also: https://tracker.ceph.com/issues/45147
Signed-off-by: Kefu Chai <[email protected]>
  • Loading branch information
tchaikov committed May 12, 2020
1 parent 9859cd0 commit 31704b3
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 31704b3

Please sign in to comment.