mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Further test fixes
+ tests/dynamips/test_hypervisor.py: Increase sleep time to prevent random test failures + tests/iou/test_iou_device.py: Rework test skipping based on presence of IOU image rather than environment variable
This commit is contained in:
1 parent
9b010d6388
commit
4a4a57e1a3
2 files changed
+14
-5
No files matched your search
@@ -1,6 +1,7 @@
|
||||
from gns3server.modules.dynamips import Hypervisor
|
||||
import time
|
||||
import os
|
||||
import pytest
|
||||
|
||||
|
||||
def test_is_started(hypervisor):
|
||||
@@ -37,6 +38,6 @@ def test_stdout():
|
||||
hypervisor = Hypervisor(dynamips_path, "/tmp", "127.0.0.1", 7200)
|
||||
hypervisor.start()
|
||||
# give some time for Dynamips to start
|
||||
time.sleep(0.01)
|
||||
time.sleep(0.1)
|
||||
output = hypervisor.read_stdout()
|
||||
assert output
|
||||
Reference in new issue
Block a user