@@ -72,12 +72,11 @@ func TestSingleNodeInstallationAlmaLinux8(t *testing.T) {
72
72
73
73
RequireEnvVars (t , []string {"SHORT_SHA" })
74
74
75
- tc := docker .NewCluster (& docker .ClusterInput {
75
+ tc := cmx .NewCluster (& cmx .ClusterInput {
76
76
T : t ,
77
77
Nodes : 1 ,
78
- Distro : "almalinux-8" ,
79
- LicensePath : "licenses/multi-node-disabled-license.yaml" ,
80
- ECBinaryPath : "../output/bin/embedded-cluster" ,
78
+ Distribution : "almalinux" ,
79
+ Version : "8" ,
81
80
})
82
81
defer tc .Cleanup ()
83
82
@@ -93,6 +92,12 @@ func TestSingleNodeInstallationAlmaLinux8(t *testing.T) {
93
92
t .Fatalf ("fail to configure firewalld: %v: %s: %s" , err , stdout , stderr )
94
93
}
95
94
95
+ t .Logf ("%s: setting selinux to Enforcing mode" , time .Now ().Format (time .RFC3339 ))
96
+ line = []string {"enable-selinux.sh" }
97
+ if stdout , stderr , err := tc .RunCommandOnNode (0 , line ); err != nil {
98
+ t .Fatalf ("failed to set selinux to Enforcing mode: %v: %s: %s" , err , stdout , stderr )
99
+ }
100
+
96
101
installSingleNode (t , tc )
97
102
98
103
isMultiNodeEnabled := "false"
@@ -666,12 +671,6 @@ func TestSingleNodeAirgapUpgrade(t *testing.T) {
666
671
t .Fatalf ("fail to prepare airgap files on node %s: %v" , tc .Nodes [0 ], err )
667
672
}
668
673
669
- t .Logf ("%s: setting selinux to Enforcing mode" , time .Now ().Format (time .RFC3339 ))
670
- line = []string {"enable-selinux.sh" }
671
- if stdout , stderr , err := tc .RunCommandOnNode (0 , line ); err != nil {
672
- t .Fatalf ("failed to set selinux to Enforcing mode: %v: %s: %s" , err , stdout , stderr )
673
- }
674
-
675
674
installSingleNodeWithOptions (t , tc , installOptions {
676
675
isAirgap : true ,
677
676
version : initialVersion ,
0 commit comments