Change test to the /dev/urandom
@@ -66,7 +66,7 @@ var exampleXML = `<domain type="kvm" xmlns:qemu="http://libvirt.org/schemas/doma
</watchdog>
<rng model="virtio">
<rate period="2000" bytes="1234"></rate>
- <backend model="random">/dev/random</backend>
+ <backend model="random">/dev/urandom</backend>
</rng>
</devices>
<metadata>
@@ -135,7 +135,7 @@ var _ = Describe("Schema", func() {
}
exampleDomain.Spec.Devices.Rng = &Rng{
Model: "virtio",
- Backend: &RngBackend{Source: "/dev/random", Model: "random"},
+ Backend: &RngBackend{Source: "/dev/urandom", Model: "random"},
Rate: &RngRate{Period: 2000, Bytes: 1234},
}
exampleDomain.Spec.Features = &Features{
