Skip to content

Commit e2fc096

Browse files
Uncomment status verfiication for FIPS test (#8479) (#8489)
(cherry picked from commit 863a890) Co-authored-by: Michel Laterman <[email protected]>
1 parent da4491e commit e2fc096

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

testing/integration/fleetserver_fips_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,12 @@ func TestFIPSAgentConnectingToFIPSFleetServerInECHFRH(t *testing.T) {
7070

7171
// Find Fleet Server's own Agent and get its status and whether it's
7272
// FIPS-capable
73-
//var agentStatus string
73+
var agentStatus string
7474
var agentIsFIPS bool
7575
for _, item := range agents.Items {
7676
if item.PolicyID == cloudAgentPolicyID {
7777
t.Logf("Found fleet-server entry: %+v", item)
78-
//agentStatus = item.Status
78+
agentStatus = item.Status
7979
agentIsFIPS = item.LocalMetadata.Elastic.Agent.FIPS
8080
break
8181
}
@@ -84,7 +84,7 @@ func TestFIPSAgentConnectingToFIPSFleetServerInECHFRH(t *testing.T) {
8484
// Check that this Agent is online (i.e. healthy) and is FIPS-capable. This
8585
// will prove that a FIPS-capable Agent is able to connect to a FIPS-capable
8686
// Fleet Server, with both running in ECH.
87-
//require.Equal(t, "online", agentStatus) // FIXME: Uncomment after https://github.com/elastic/apm-server/issues/17063 is resolved
87+
require.Equal(t, "online", agentStatus)
8888
return agentIsFIPS
8989
}, 10*time.Second, 200*time.Millisecond, "Fleet Server's Elastic Agent should be healthy and FIPS-capable")
9090
}

0 commit comments

Comments
 (0)