Skip to content

fix: Fix sheduling test to account for ENIs created by VPC CNI#9182

Open
jaydeokar wants to merge 1 commit into
aws:mainfrom
jaydeokar:test_fix
Open

fix: Fix sheduling test to account for ENIs created by VPC CNI#9182
jaydeokar wants to merge 1 commit into
aws:mainfrom
jaydeokar:test_fix

Conversation

@jaydeokar

Copy link
Copy Markdown
Contributor

Fixes #N/A
N/A

Description
EFA scheduling test is expecting only 2 ENIs whereas after the 1st pod lands, due to VPC CNI scaling the third ENI is added. As a result, the outcome depends on the timing of the DescribeInstances call - whether it happens before or after the CNI scale-up occurs.

How was this change tested?

Does this change impact docs?

  • [] Yes, PR includes docs updates
  • [] Yes, issue opened: #
  • No

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@jaydeokar jaydeokar requested a review from a team as a code owner May 22, 2026 19:36
@jaydeokar jaydeokar requested review from Copilot and jmdeal May 22, 2026 19:36

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Adjusts the EFA scheduling integration test to be resilient to additional ENIs created asynchronously by the VPC CNI, avoiding timing-dependent flakes in the scheduling suite.

Changes:

  • Relax the test assertion from “exactly 2 ENIs” to “at least 2 ENIs” while still validating the presence and types of device indexes 0 and 1.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

2 participants