summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLyude <lyude@redhat.com>2017-02-01 18:17:49 -0500
committerLyude <lyude@redhat.com>2017-02-01 18:17:49 -0500
commit808a1aa00fdbc216deb483e6ee27d247f420849c (patch)
tree13ca7a51affa4bfd30e2000417268189b4ab1c08 /tests
parent26cde2aee659d4bfdb9db8aae461e095447bd1e7 (diff)
tests/chamelium: Don't forget to flush in test_hpd_without_ddc()
This fixes VGA HPD tests without DDC failing due to leftover hotplug events being received by the call to reset_state(). Signed-off-by: Lyude <lyude@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/chamelium.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/chamelium.c b/tests/chamelium.c
index e03acc46..f3402790 100644
--- a/tests/chamelium.c
+++ b/tests/chamelium.c
@@ -514,6 +514,7 @@ test_hpd_without_ddc(data_t *data, struct chamelium_port *port)
struct udev_monitor *mon = igt_watch_hotplug();
reset_state(data, port);
+ igt_flush_hotplugs(mon);
/* Disable the DDC on the connector and make sure we still get a
* hotplug