fix broken machine test

The memory both local and in the CI test is converted to 3822. I don't
know why this changed but I want to have this working again. For the
future we should look at a more robust solution.

Fixes #15012

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
Paul Holzinger 2022-07-21 18:11:53 +02:00
parent 19f4a463ed
commit 88b57dd9f1
No known key found for this signature in database
GPG Key ID: EB145DD938A3CAF2
2 changed files with 2 additions and 2 deletions

View File

@ -108,7 +108,7 @@ var _ = Describe("podman machine init", func() {
switch runtime.GOOS { switch runtime.GOOS {
// os's handle memory differently // os's handle memory differently
case "linux": case "linux":
Expect(memorySession.outputToString()).To(ContainSubstring("3821")) Expect(memorySession.outputToString()).To(ContainSubstring("3822"))
case "darwin": case "darwin":
Expect(memorySession.outputToString()).To(ContainSubstring("3824")) Expect(memorySession.outputToString()).To(ContainSubstring("3824"))
default: default:

View File

@ -62,7 +62,7 @@ var _ = Describe("podman machine set", func() {
switch runtime.GOOS { switch runtime.GOOS {
// it seems macos and linux handle memory differently // it seems macos and linux handle memory differently
case "linux": case "linux":
Expect(memorySession.outputToString()).To(ContainSubstring("3821")) Expect(memorySession.outputToString()).To(ContainSubstring("3822"))
case "darwin": case "darwin":
Expect(memorySession.outputToString()).To(ContainSubstring("3824")) Expect(memorySession.outputToString()).To(ContainSubstring("3824"))
default: default: