Skip to content

Commit

Permalink
test/e2e: check for installed package on node instead of in the conta…
Browse files Browse the repository at this point in the history
…iner
  • Loading branch information
sinnykumari committed Jul 31, 2020
1 parent 662bf1d commit 5b44766
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/mcd_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ func TestExtensions(t *testing.T) {

assert.Equal(t, infraNode.Annotations[constants.CurrentMachineConfigAnnotationKey], oldInfraRenderedConfig)
assert.Equal(t, infraNode.Annotations[constants.MachineConfigDaemonStateAnnotationKey], constants.MachineConfigDaemonStateDone)
installedExtesnions = execCmdOnNode(t, cs, infraNode, "rpm", "-qa", "usbguard")
installedExtesnions = execCmdOnNode(t, cs, infraNode, "chroot", "/rootfs", "rpm", "-qa", "usbguard")
if strings.Contains(installedExtesnions, "usbguard") {
t.Fatalf("Node %s did not rollback successfully", infraNode.Name)
}
Expand Down

0 comments on commit 5b44766

Please sign in to comment.