From d5cd63a7cba3ab0d6f210acce161ffae5b10fee2 Mon Sep 17 00:00:00 2001 From: Trevor Cooper Date: Tue, 17 Aug 2021 18:21:31 -0700 Subject: [PATCH] wait for anaconda main hub before attempting kdump spoke --- tests/_anaconda_kdump_disable.pm | 3 +++ tests/_anaconda_kdump_enable.pm | 3 +++ 2 files changed, 6 insertions(+) diff --git a/tests/_anaconda_kdump_disable.pm b/tests/_anaconda_kdump_disable.pm index 88a3567a..593fa665 100644 --- a/tests/_anaconda_kdump_disable.pm +++ b/tests/_anaconda_kdump_disable.pm @@ -6,6 +6,9 @@ use tapnet; sub run { my $self = shift; + # Anaconda hub + assert_screen "anaconda_main_hub", 300; # + assert_and_click "anaconda_main_hub_kdump"; assert_and_click "anaconda_kdump_disable"; assert_screen "anaconda_kdump_disabled", 90; diff --git a/tests/_anaconda_kdump_enable.pm b/tests/_anaconda_kdump_enable.pm index 5d0c55ae..0363186b 100644 --- a/tests/_anaconda_kdump_enable.pm +++ b/tests/_anaconda_kdump_enable.pm @@ -6,6 +6,9 @@ use tapnet; sub run { my $self = shift; + # Anaconda hub + assert_screen "anaconda_main_hub", 300; # + assert_and_click "anaconda_main_hub_kdump"; assert_and_click "anaconda_kdump_enable"; assert_screen "anaconda_kdump_enabled", 90;