Skip to content

Commit

Permalink
Merge pull request #925 from runcom/add-logs-mcd-test
Browse files Browse the repository at this point in the history
test/e2e: add more logs to FIPS tests
  • Loading branch information
openshift-merge-robot committed Jul 4, 2019
2 parents 65152dd + 5f86cc3 commit 5a3a795
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/mcd_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ func TestFIPS(t *testing.T) {
require.Nil(t, err)
fips := string(fipsBytes)
if !strings.Contains(fips, "FIPS mode is enabled") {
t.Fatalf("FIPS hasn't been enabled")
t.Fatalf("FIPS hasn't been enabled on node %s: %s", node.Name, fips)
}
t.Logf("Node %s has expected FIPS mode", node.Name)
}
Expand All @@ -579,7 +579,7 @@ func TestFIPS(t *testing.T) {
require.Nil(t, err)
fips := string(fipsBytes)
if !strings.Contains(fips, "FIPS mode is disabled") {
t.Fatalf("FIPS hasn't been disabled")
t.Fatalf("FIPS hasn't been disabled on node %s: %s", node.Name, fips)
}
t.Logf("Node %s has expected FIPS mode", node.Name)
}
Expand Down

0 comments on commit 5a3a795

Please sign in to comment.