Commit cc76497
Add a delay for 'test_ro_user' case 'test_ro_user_banned_command' to allow 'hostcfgd' to start and configure tacas authorization. (sonic-net#3741)
- What is the motivation for this PR?
After recent change introduced on this PR's: sonic-net/sonic-buildimage#7965 and sonic-net/sonic-buildimage#8117 'hostcfgd' will be delayed in 90 seconds.
If the test will run before the daemon has started, it will fail the test. This is to align with the new change and make sure the test will pass.
- How did you do it?
Add a delay of 100 seconds before executing authorized commands.
- How did you verify/test it?
Run the test.
Signed-off-by: Shlomi Bitton <shlomibi@nvidia.com>1 parent b124ed9 commit cc76497
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
151 | 152 | | |
152 | 153 | | |
153 | 154 | | |
| 155 | + | |
| 156 | + | |
154 | 157 | | |
155 | 158 | | |
156 | 159 | | |
| |||
0 commit comments