Skip to content

Commit 2f5afc4

Browse files
committed
Define tests as needing a FIPS environment
1 parent b59e883 commit 2f5afc4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

testing/integration/upgrade_fleet_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ func TestFleetManagedUpgradeUnprivilegedFIPS(t *testing.T) {
7878
Stack: &define.Stack{},
7979
Local: false, // requires Agent installation
8080
Sudo: true, // requires Agent installation
81-
// FIPS: true // TODO: uncomment when https://github.com/elastic/elastic-agent/pull/8083 is merged
81+
FIPS: true,
8282
})
8383
postWatcherSuccessHook := upgradetest.PostUpgradeAgentIsFIPSCapable
8484
upgradeOpts := []upgradetest.UpgradeOpt{upgradetest.WithPostWatcherSuccessHook(postWatcherSuccessHook)}
@@ -95,7 +95,7 @@ func TestFleetManagedUpgradePrivilegedFIPS(t *testing.T) {
9595
Stack: &define.Stack{},
9696
Local: false, // requires Agent installation
9797
Sudo: true, // requires Agent installation
98-
// FIPS: true // TODO: uncomment when https://github.com/elastic/elastic-agent/pull/8083 is merged
98+
FIPS: true,
9999
})
100100

101101
// Check that new (post-upgrade) Agent is also FIPS-capable

testing/integration/upgrade_standalone_fips_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ func TestStandaloneUpgradeFIPStoFIPS(t *testing.T) {
3030
OS: []define.OS{
3131
{Type: define.Linux},
3232
},
33-
// FIPS: true // TODO: uncomment when https://github.com/elastic/elastic-agent/pull/8083 is merged
33+
FIPS: true,
3434
})
3535

3636
// parse the version we are testing

0 commit comments

Comments
 (0)