Skip to content

[restart_swss]: Sometimes it fails when the pause time is not long enough #979

@riverhong

Description

@riverhong

Description

Sometimes when running "restart_swss" test, it may fail.
By changing the pause time from 35s to 60s at Line#10 in run_config_cleanup.yml as the following, then this issue does not happen.

  • name: Wait for orchagent initialization
    pause:
    seconds: 60

Steps to reproduce the issue:

  1. Run "restart_swss" 10 times, sometimes the result is fail.
  2. Modify pause from 35s to 60s in "run_config_cleanup.yml" and run "restart_swss" 10 times, it pass.

I'm not sure whether it is acceptable to wait for restarting swss a bit longer than the original setting in run_config_cleanup.yml?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions