Skip to content

Commit

Permalink
Move yast2 lan tests to YaST job group
Browse files Browse the repository at this point in the history
Move yast2 lan tests to YaST job group trying to match the closer test coverage
to the existing one and therefore excluding this test module from
the default schedule of main.pm mechanism for latest product to
have more control on its maintenance.

Currently when the module is schedule in other arch than x86_64
we are just opening it, so with this change we can apply the
detailed check for all architectures.
  • Loading branch information
jknphy committed May 11, 2020
1 parent c9f4614 commit 6d4c1f1
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/main_common.pm
Expand Up @@ -1164,7 +1164,7 @@ sub load_consoletests {
loadtest "console/zypper_ref";
}
loadtest "console/ncurses";
loadtest "console/yast2_lan" unless is_bridged_networking;
loadtest "console/yast2_lan" if (!is_bridged_networking && is_sle('<15-SP2'));
# no local certificate store
if (!is_krypton_argon) {
loadtest "console/curl_https";
Expand Down Expand Up @@ -1407,7 +1407,7 @@ sub load_extra_tests_y2uitest_ncurses {
loadtest "console/yast2_http";
loadtest "console/yast2_ftp";
loadtest "console/yast2_apparmor";
loadtest "console/yast2_lan";
loadtest "console/yast2_lan" if is_sle('<15-SP2');
loadtest "console/yast2_lan_device_settings";
}
# TODO https://progress.opensuse.org/issues/20200
Expand Down
1 change: 0 additions & 1 deletion schedule/functional/allpatterns.yaml
Expand Up @@ -42,7 +42,6 @@ schedule:
- console/zypper_lr
- console/zypper_ref
- console/ncurses
- console/yast2_lan
- console/curl_https
- console/salt
- console/glibc_sanity
Expand Down
1 change: 0 additions & 1 deletion schedule/functional/extra_tests_gnome.yaml
Expand Up @@ -32,7 +32,6 @@ schedule:
- '{{user_defined_snapshot}}'
- x11/remote_desktop/vino_screensharing_available
- x11/rrdtool_x11
- x11/yast2_lan_restart
- x11/keyboard_layout_gdm
- console/yast2_lan_device_settings
- console/check_default_network_manager
Expand Down
28 changes: 28 additions & 0 deletions schedule/yast/yast2_lan.yaml
@@ -0,0 +1,28 @@
---
name: yast2_lan
description: >
Test for yast2 lan, ncurses only.
Running on created gnome images which provides both text console for ncurses UI tests as well
as the gnome environment for the GUI tests.
vars:
BOOT_HDD_IMAGE: 1
DESKTOP: gnome
HDDSIZEGB: 20
TIMEOUT_SCALE: 3
VALIDATE_ETC_HOSTS: 1
conditional_schedule:
bootloader_start:
ARCH:
s390x:
- installation/bootloader_start
uefi_boot:
ARCH:
aarch64:
- boot/uefi_bootmenu
schedule:
- "{{uefi_boot}}"
- "{{bootloader_start}}"
- boot/boot_to_desktop
- console/prepare_test_data
- console/consoletest_setup
- console/yast2_lan

0 comments on commit 6d4c1f1

Please sign in to comment.