Skip to content

[config reload]Modifying config reload tests to align with latest config reload enhancement#7558

Merged
qiluo-msft merged 1 commit intosonic-net:masterfrom
dgsudharsan:config_rel_en
Apr 11, 2023
Merged

[config reload]Modifying config reload tests to align with latest config reload enhancement#7558
qiluo-msft merged 1 commit intosonic-net:masterfrom
dgsudharsan:config_rel_en

Conversation

@dgsudharsan
Copy link
Contributor

Description of PR

Summary:
Fixes # (issue)

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Back port request

  • 201911
  • 202012
  • 202205

Approach

What is the motivation for this PR?

Modifying config reload tests to align with latest config reload enhancement according to HLD sonic-net/SONiC#1203

How did you do it?

Removed the timer based checks

How did you verify/test it?

Run the tests with config reload enhamcenet changes

Any platform specific information?

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

Documentation

…fig reload enhancement

Change-Id: I69203b17b392da28d21c750b28f0038d1dd5700d
if int(out['stdout'].strip()) < 120:
return False

logging.info("Checking if delayed services are up")
Copy link
Contributor

Choose a reason for hiding this comment

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

delayed

Do you have new ways to check delayed services?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@qiluo-msft No. But the waiting for swss for 120 seconds should cover this as well.

Copy link
Contributor

Choose a reason for hiding this comment

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

Originally the test verify lldp/pmon/snmp/telemetry/etc started. I do not understand "waiting for swss for 120 seconds should cover this".

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Previously all these services took 3 min 30 seconds to boot up and hence it is greater than 120 seconds wait for swss. Now these services almost within 30 seconds of switch initialization (at the worst a min). So essentially config reload will not proceed for another 60 seconds which is quite sufficient for these services to start.
Hence not adding any checks here.

@dgsudharsan dgsudharsan requested a review from qiluo-msft March 18, 2023 03:11
@dgsudharsan
Copy link
Contributor Author

/azpw run Azure.sonic-mgmt

@mssonicbld
Copy link
Collaborator

/AzurePipelines run Azure.sonic-mgmt

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@qiluo-msft qiluo-msft merged commit a0cc0c2 into sonic-net:master Apr 11, 2023
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