コード例 #1
0
ファイル: vmstorage_test.py プロジェクト: EdDev/vdsm
    def test_set_iotune(self, iotune):
        conf = drive_config(
            serial='54-a672-23e5b495a9ea',
        )
        drive = Drive(self.log, **conf)

        with self.assertRaises(Exception):
            drive.iotune = iotune
コード例 #2
0
ファイル: vmstorage_test.py プロジェクト: guozhonghua216/vdsm
    def test_set_iotune(self, iotune):
        conf = drive_config(
            serial='54-a672-23e5b495a9ea',
            diskType=DISK_TYPE.BLOCK,
        )
        drive = Drive(self.log, **conf)

        with pytest.raises(Exception):
            drive.iotune = iotune
コード例 #3
0
ファイル: vmstorage_test.py プロジェクト: akashihi/vdsm
    def test_set_iotune(self, iotune):
        conf = drive_config(serial='54-a672-23e5b495a9ea', )
        drive = Drive(self.log, **conf)

        with self.assertRaises(Exception):
            drive.iotune = iotune