Commit 3d58abde authored by Denis Bilenko's avatar Denis Bilenko

virtualbox.py: bigger timeout for mkdir

parent 6db9a88b
...@@ -138,7 +138,6 @@ class VirtualBox(object): ...@@ -138,7 +138,6 @@ class VirtualBox(object):
self.username = username self.username = username
self.password = password self.password = password
self.type = type self.type = type
self.mkdir_timeout = 15
def start(self): def start(self):
self.initial_state = start(self.name, self.type) self.initial_state = start(self.name, self.type)
...@@ -159,10 +158,8 @@ class VirtualBox(object): ...@@ -159,10 +158,8 @@ class VirtualBox(object):
def restore(self): def restore(self):
return vbox_restore(self.name) return vbox_restore(self.name)
def mkdir(self, path, timeout=None): def mkdir(self, path, **kwargs):
if timeout is None: return vbox_mkdir(self.name, path, username=self.username, password=self.password, **kwargs)
timeout = self.mkdir_timeout
return vbox_mkdir(self.name, path, username=self.username, password=self.password, timeout=timeout)
def copyto(self, source, dest): def copyto(self, source, dest):
return vbox_copyto(self.name, source, dest, username=self.username, password=self.password) return vbox_copyto(self.name, source, dest, username=self.username, password=self.password)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment