Skip to content

Conversation

@OriTrabelsi
Copy link
Contributor

Change-Id: Ia0940ab247072e6e09a45a949fe4ef197ab70748

Description of PR

Summary:
Add wait until logic after restart ptfadapter to
make sure all ptf ports data are ready on the ptf_nn_agent.
if not ready, raise a warning.

Fixes # (issue)

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • New Test case
    • Skipped for non-supported platforms
  • Test case improvement

Back port request

  • 202205
  • 202305
  • 202311
  • 202405
  • 202411
  • 202505
  • 202511

Approach

What is the motivation for this PR?

on scale topology the dictionary of {ptf_ports:mac_address} might take a while to be loaded. If not ready test might be fail.
For example test_static_route.

How did you do it?

wait until the dict is ready.

How did you verify/test it?

rerun the tests.

Any platform specific information?

Supported testbed topology if it's a new test case?

Documentation

make sure all ptf ports data are ready on the ptf_nn_agent.
if not raise a warning.

Change-Id: Ia0940ab247072e6e09a45a949fe4ef197ab70748
@mssonicbld
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@AharonMalkin
Copy link
Contributor

Hey @r12f , this is a PR related to improve PTF performance for scale topologies.

@OriTrabelsi OriTrabelsi changed the title Add wait until logic after restart ptfadapter [Scale] Add wait until logic after restart ptfadapter Dec 4, 2025
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.

3 participants