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

cnf network: fix rdma flake #248

Merged
merged 1 commit into from
Oct 10, 2024
Merged

Conversation

ajaggapa
Copy link
Collaborator

@ajaggapa ajaggapa commented Oct 9, 2024

MCP update is happening ~12 seconds while deleting an MC

@@ -133,7 +133,7 @@ var _ = Describe("rdmaMetrics", Ordered, Label(tsparams.LabelRdmaMetricsTestCase
Expect(err).ToNot(HaveOccurred(), "Failed to delete rdma exclusive mode machine config")

err = netenv.WaitForMcpStable(
APIClient, tsparams.MCOWaitTimeout, tsparams.DefaultStableDuration, NetConfig.CnfMcpLabel)
APIClient, tsparams.MCOWaitTimeout, 1*time.Minute, NetConfig.CnfMcpLabel)
Copy link
Collaborator

Choose a reason for hiding this comment

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

You have another 1*time.Minute on line 71. Maybe make a var?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Can i change below var to 1 minute or else add a new var ?

DefaultStableDuration = 10 * time.Second

Copy link
Collaborator

@evgenLevin evgenLevin left a comment

Choose a reason for hiding this comment

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

/lgtm

@gkopels
Copy link
Collaborator

gkopels commented Oct 10, 2024

lgtm

@ajaggapa ajaggapa merged commit b76e35b into openshift-kni:main Oct 10, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants