mirror of
https://github.com/containers/podman.git
synced 2025-08-06 03:19:52 +08:00
Fix WSL machine test regressions
WSL is unable to set or change CPU/memory settings. We should not test for them. Skip one test and filed issue #20978 Signed-off-by: Brent Baude <bbaude@redhat.com>
This commit is contained in:
@ -79,7 +79,7 @@ var _ = Describe("podman machine init", func() {
|
||||
|
||||
testMachine := inspectBefore[0]
|
||||
Expect(testMachine.Name).To(Equal(mb.names[0]))
|
||||
if testProvider.VMType() == machine.WSLVirt { // WSL hardware specs are hardcoded
|
||||
if testProvider.VMType() != machine.WSLVirt { // WSL hardware specs are hardcoded
|
||||
Expect(testMachine.Resources.CPUs).To(Equal(uint64(cpus)))
|
||||
Expect(testMachine.Resources.Memory).To(Equal(uint64(2048)))
|
||||
}
|
||||
|
Reference in New Issue
Block a user