Open cgoldberg opened 7 years ago
this code is from the start() method in xvfbwrapper.py:
# give Xvfb time to start time.sleep(self.__class__.SLEEP_TIME_BEFORE_START) ret_code = self.proc.poll()
It uses a fixed time.sleep(.1) to wait for Xvfb startup. Change this so it calls proc.poll() in a loop with a timeout.
this code is from the start() method in xvfbwrapper.py:
It uses a fixed time.sleep(.1) to wait for Xvfb startup. Change this so it calls proc.poll() in a loop with a timeout.