← Back to team overview

launchpad-dev team mailing list archive

Re: Test suite failing to open display

 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 05/20/2010 03:12 PM, Aaron Bentley wrote:
> I am no longer able to test on a local machine, because the
> lp.bugs.windmill.testing.BugsWindmillLayer tests are unable to open the
> display.

> The display in question is a vnc server

Further testing has shown that
1. It has only happened when the layer is run in a subprocess
2. Using xvfb-run (via make check) seems to work.  On Karmic, xvfb-run
would hang, which is why I was using a vnc server in the first place.

It seems like the subprocess invocation isn't propagating some piece of
the environment that the vnc server demands.  Perhaps xvfb-run is less
demanding?

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkv9M/0ACgkQ0F+nu1YWqI34OgCfbA91Vi3t8FEekOtp9jXdmMLi
QyUAn0UX7U2YYd8zV97amhsUjPVowgk6
=aaQ3
-----END PGP SIGNATURE-----



References