Skip to content

Commit 403e0ef

Browse files
committed
FIPS upgrade tests should only run on Linux
1 parent 2f5afc4 commit 403e0ef

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

testing/integration/upgrade_fleet_test.go

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,10 @@ func TestFleetManagedUpgradeUnprivilegedFIPS(t *testing.T) {
7878
Stack: &define.Stack{},
7979
Local: false, // requires Agent installation
8080
Sudo: true, // requires Agent installation
81-
FIPS: true,
81+
OS: []define.OS{
82+
{Type: define.Linux},
83+
},
84+
FIPS: true,
8285
})
8386
postWatcherSuccessHook := upgradetest.PostUpgradeAgentIsFIPSCapable
8487
upgradeOpts := []upgradetest.UpgradeOpt{upgradetest.WithPostWatcherSuccessHook(postWatcherSuccessHook)}
@@ -93,6 +96,9 @@ func TestFleetManagedUpgradePrivilegedFIPS(t *testing.T) {
9396
info := define.Require(t, define.Requirements{
9497
Group: FleetPrivileged,
9598
Stack: &define.Stack{},
99+
OS: []define.OS{
100+
define.Linux,
101+
},
96102
Local: false, // requires Agent installation
97103
Sudo: true, // requires Agent installation
98104
FIPS: true,

0 commit comments

Comments
 (0)