Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix netavark IgnoreIfExists config test flake #1336

Merged
merged 1 commit into from
Feb 20, 2023

Conversation

Luap99
Copy link
Member

@Luap99 Luap99 commented Feb 20, 2023

We cannot compare network with Expect().To(Equal()), the internal time.Time is not equal after parsing from file. There is some internal field offset that can be different but the date is still the same. Other tests have the same problem and to circumvent this we use EqualNetwork() there. Do the same here.

Fixes #1335

We cannot compare network with Expect().To(Equal()), the internal
time.Time is not equal after parsing from file. There is some internal
field offset that can be different but the date is still the same. Other
tests have the same problem and to circumvent this we use EqualNetwork()
there. Do the same here.

Fixes containers#1335

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 20, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Luap99

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@Luap99 Luap99 mentioned this pull request Feb 20, 2023
Copy link
Member

@vrothberg vrothberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch, thanks!

LGTM

@vrothberg
Copy link
Member

@mheon PTAL

@mheon
Copy link
Member

mheon commented Feb 20, 2023

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Feb 20, 2023
@openshift-merge-robot openshift-merge-robot merged commit 6f7e45b into containers:main Feb 20, 2023
@Luap99 Luap99 deleted the network-ignore-flake branch February 20, 2023 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

libnetwork test flake
4 participants