The test suite sends SW_LID events, causing the device to suspend (and tests to time out). This should be inhibited during test suite runs.
https://lists.freedesktop.org/archives/wayland-devel/2018-February/036741.html
commit 7175cafe78f19d5fbf025efd8e130e88eecb810c Author: Peter Hutterer <peter.hutterer@who-t.net> Date: Thu Feb 1 14:23:41 2018 +1000 test: inhibit nasty keys and switches during test runs
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.