Skip to content

Commit

Permalink
tests: ceph-disk: only install multipath on CentOS
Browse files Browse the repository at this point in the history
If installed on Ubuntu where multipath does not activate properly, it
interferes with the other tests.

Signed-off-by: Loic Dachary <[email protected]>
  • Loading branch information
ldachary committed Sep 22, 2015
1 parent fb4dd7d commit 0cf0e88
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion qa/workunits/ceph-disk/ceph-disk-test.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,8 @@ def setup_class(self):
logging.basicConfig(level=logging.DEBUG)
c = CephDisk()
c.helper("install augeas-tools augeas")
c.helper("install multipath-tools device-mapper-multipath")
if c.sh("lsb_release -si") == 'CentOS':
c.helper("install multipath-tools device-mapper-multipath")
c.augtool("set /files/etc/ceph/ceph.conf/global/osd_journal_size 100")

def test_destroy_osd(self):
Expand Down

0 comments on commit 0cf0e88

Please sign in to comment.