Skip to content

Commit

Permalink
fix test default smbios values
Browse files Browse the repository at this point in the history
Signed-off-by: Ashley Schuett <[email protected]>
  • Loading branch information
ashleyschuett committed Jun 29, 2020
1 parent 381c7c3 commit c6e1f1e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/vmi_configuration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2324,6 +2324,11 @@ var _ = Describe("Configurations", func() {
Expect(err).ToNot(HaveOccurred())
tests.WaitForSuccessfulVMIStart(vmi)

test_smbios := &cmdv1.SMBios{Family: "", Product: "", Manufacturer: ""}
smbiosJson, err := json.Marshal(test_smbios)
Expect(err).ToNot(HaveOccurred())
tests.UpdateClusterConfigValueAndWait(virtconfig.SmbiosConfigKey, string(smbiosJson))

By("Check values in domain XML")
domXml, err := tests.GetRunningVirtualMachineInstanceDomainXML(virtClient, vmi)
Expect(err).ToNot(HaveOccurred())
Expand Down

0 comments on commit c6e1f1e

Please sign in to comment.