mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-22 05:01:25 +00:00
We should *not* check CURRREL for rolekit in _check
...because by this point in the upgrade test, the system is upgraded, and rolekit won't be there on F29+. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
7e7016ea14
commit
5999058d07
@ -12,8 +12,6 @@ sub run {
|
||||
# always, for F29+ we decommission directly ourselves as rolekit
|
||||
# is deprecated
|
||||
my $version = get_var("VERSION");
|
||||
# for upgrade tests we need to check CURRREL not VERSION
|
||||
$version = get_var("CURRREL") if (get_var("UPGRADE"));
|
||||
if ($version < 29 && $version ne 'Rawhide') {
|
||||
# check the role status, should be 'running'
|
||||
validate_script_output 'rolectl status domaincontroller/domain.local', sub { $_ =~ m/^running/ };
|
||||
|
Loading…
Reference in New Issue
Block a user