mirror of https://github.com/apache/cloudstack.git
test: Frix travis failure - test_outofbandmanagement.py (#5346)
This commit is contained in:
parent
ee01522d3f
commit
25206e4fd3
|
|
@ -15,23 +15,18 @@
|
||||||
# specific language governing permissions and limitations
|
# specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
|
|
||||||
import marvin
|
|
||||||
from marvin.cloudstackTestCase import *
|
from marvin.cloudstackTestCase import *
|
||||||
from marvin.cloudstackAPI import *
|
from marvin.cloudstackAPI import *
|
||||||
from marvin.lib.utils import *
|
from marvin.lib.utils import *
|
||||||
from marvin.lib.base import *
|
from marvin.lib.base import *
|
||||||
from marvin.lib.common import *
|
from marvin.lib.common import *
|
||||||
from marvin.lib.utils import (random_gen)
|
|
||||||
from nose.plugins.attrib import attr
|
from nose.plugins.attrib import attr
|
||||||
|
|
||||||
from ipmisim.ipmisim import IpmiServerContext, IpmiServer, ThreadedIpmiServer
|
from ipmisim.ipmisim import IpmiServerContext, IpmiServer, ThreadedIpmiServer
|
||||||
|
|
||||||
import random
|
import random
|
||||||
import socket
|
import socket
|
||||||
import sys
|
|
||||||
import _thread
|
import _thread
|
||||||
import time
|
|
||||||
|
|
||||||
|
|
||||||
class TestOutOfBandManagement(cloudstackTestCase):
|
class TestOutOfBandManagement(cloudstackTestCase):
|
||||||
|
|
@ -47,7 +42,9 @@ class TestOutOfBandManagement(cloudstackTestCase):
|
||||||
cls.zone = get_zone(cls.apiclient, testClient.getZoneForTests())
|
cls.zone = get_zone(cls.apiclient, testClient.getZoneForTests())
|
||||||
cls.host = None
|
cls.host = None
|
||||||
cls.cleanup = []
|
cls.cleanup = []
|
||||||
cls.skipIfMSIsUnsupported(cls)
|
cls.hypervisor = cls.testClient.getHypervisorInfo()
|
||||||
|
if (cls.hypervisor.lower() != "simulator"):
|
||||||
|
cls.skipIfMSIsUnsupported(cls)
|
||||||
|
|
||||||
# use random port for ipmisim
|
# use random port for ipmisim
|
||||||
s = socket.socket()
|
s = socket.socket()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue