-
Notifications
You must be signed in to change notification settings - Fork 99
Use common wait times in EVPN integration tests #2996
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
Conversation
Also: rename tested device to DUT wherever feasible
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR standardizes wait times across EVPN integration tests by introducing a common wait_times.yml configuration file and consistently renames the device under test to "DUT" throughout the test suite.
- Adds centralized wait time constants to replace hardcoded values
- Renames test devices (s1, spine, rr) to the standard "DUT" nomenclature
- Adds a new wait time for vjunos-switch ping_irb operations
Reviewed changes
Copilot reviewed 16 out of 16 changed files in this pull request and generated 11 comments.
Show a summary per file
| File | Description |
|---|---|
| tests/integration/wait_times.yml | Adds vjunos-switch.ping_irb wait time constant (40s) |
| tests/integration/evpn/01-vxlan-bridging.yml | Replaces hardcoded wait times with constants, renames s1 to dut |
| tests/integration/evpn/02-vxlan-asymmetric-irb.yml | Replaces hardcoded wait times with constants, renames s1 to dut |
| tests/integration/evpn/03-vxlan-symmetric-irb.yml | Replaces hardcoded wait times with constants, renames s1 to dut |
| tests/integration/evpn/04-vxlan-central-routing.yml | Replaces hardcoded wait times with constants, adds validation steps |
| tests/integration/evpn/05-vxlan-l3only.yml | Replaces hardcoded wait times with constants, renames s1 to dut, adds validation steps |
| tests/integration/evpn/06-vxlan-bridging-vlan-bundle.yml | Replaces hardcoded wait times with constants, renames s1 to dut |
| tests/integration/evpn/10-vxlan-rr.yml | Replaces hardcoded wait times with constants, renames rr (route reflector) to dut |
| tests/integration/evpn/11-vxlan-ebgp.yml | Replaces hardcoded wait times with constants, renames spine to dut |
| tests/integration/evpn/12-vxlan-ibgp-ebgp.yml | Replaces hardcoded wait times with constants |
| tests/integration/evpn/13-vxlan-ebgp-allowas.yml | Replaces hardcoded wait times with constants, renames l1 to dut, adds validation steps |
| tests/integration/evpn/14-vxlan-ebgp-ebgp.yml | Replaces hardcoded wait times with constants, corrects validation descriptions |
| tests/integration/evpn/15-vxlan-ebgp-unnumbered.yml | Adds validation steps for EBGP session and EVPN address family |
| tests/integration/evpn/21-bgp-ce-router.yml | Replaces hardcoded wait times with constants, renames s1 to dut, adds OSPF validation |
| tests/integration/evpn/22-ospf-ce-router.yml | Replaces hardcoded wait times with constants, renames s1 to dut |
| tests/integration/evpn/30-cs-bridging.yml | Replaces hardcoded wait times with constants |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 16 out of 16 changed files in this pull request and generated 5 comments.
| description: Check IBGP sessions S1-S2 | ||
| wait: 30 | ||
| wait: ibgp_session | ||
| wait_msg: Waiting for IBGP sessions to start |
Copilot
AI
Jan 3, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo in wait message: "IGBP" should be "IBGP"
| cisco8000v.ping_long: 15 # ... and even to populate the routing tables | ||
| vjunos-router.ping_irb: 90 # ... and so does vjunos-router | ||
| vjunos-switch.ping_irb: 40 # ... and so does vjunos-switch | ||
| vjunos-router.ping_irb: 90 # ... and vjunos-router |
Copilot
AI
Jan 3, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Inconsistent comment style: line 61 says "and so does vjunos-switch" while line 62 says "and vjunos-router". For consistency, line 62 should say "and so does vjunos-router"
| vjunos-router.ping_irb: 90 # ... and vjunos-router | |
| vjunos-router.ping_irb: 90 # ... and so does vjunos-router |
| description: Check IBGP adjacencies with spine | ||
| wait: ibgp_session | ||
| nodes: [ l2 ] | ||
| wait_msg: Waiting for IGBP session |
Copilot
AI
Jan 3, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo in wait message: "IGBP" should be "IBGP"
| wait_msg: Waiting for IGBP session | |
| wait_msg: Waiting for IBGP session |
| description: Check IBGP adjacencies with DUT | ||
| wait: ibgp_session | ||
| nodes: [ s2 ] | ||
| wait_msg: Waiting for IGBP session |
Copilot
AI
Jan 3, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo in wait message: "IGBP" should be "IBGP"
| wait_msg: Waiting for IGBP session | |
| wait_msg: Waiting for IBGP session |
| wait: 30 | ||
| description: Check IBGP sessions S2-DUT | ||
| wait: ibgp_session | ||
| wait_msg: Waiting for IBGP sessions to start |
Copilot
AI
Jan 3, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo in wait message: "IGBP" should be "IBGP"
Also: rename tested device to DUT wherever feasible