From 378d50eabd6a9fc6abbd1fbb628e407bac548f2d Mon Sep 17 00:00:00 2001 From: Lukas Ruzicka Date: Wed, 17 Aug 2022 13:03:12 +0200 Subject: [PATCH] Fix the modularity tests by selecting existing modules. --- tests/modularity_enable_disable_module.pm | 8 ++++---- tests/modularity_install_module.pm | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/modularity_enable_disable_module.pm b/tests/modularity_enable_disable_module.pm index 8529c2f5..79b02faf 100644 --- a/tests/modularity_enable_disable_module.pm +++ b/tests/modularity_enable_disable_module.pm @@ -11,8 +11,8 @@ sub run { $self->root_console(tty => 3); # Enable the module. - my $name = "swig"; - my $stream = "4.0"; + my $name = "mysql"; + my $stream = "8.0"; assert_script_run("dnf module enable -y $name:$stream"); # Check that it is listed in the enabled list. @@ -30,8 +30,8 @@ sub run { } # Disable some other module. - my $name_alt = "postgresql"; - my $stream_alt = "14"; + my $name_alt = "nginx"; + my $stream_alt = "mainline"; assert_script_run("dnf module disable -y $name_alt:$stream_alt"); # Check that it is listed in the disabled list. diff --git a/tests/modularity_install_module.pm b/tests/modularity_install_module.pm index 5a5c2a9d..2cf3d248 100644 --- a/tests/modularity_install_module.pm +++ b/tests/modularity_install_module.pm @@ -10,9 +10,9 @@ sub run { $self->root_console(tty => 3); # Install a Ruby module. - my $name = "nodejs"; - my $stream = "14"; - my $profile = "common"; + my $name = "mysql"; + my $stream = "8.0"; + my $profile = "server"; assert_script_run("dnf module install -y $name:$stream/$profile"); # Check that it is listed in the installed list.