Commit af43f22
committed
[fast/warm reboot] improve fast/warm reboot handling code (#973)
- Improve the data test warm up code:
Let the data plane IO stablize for 30 seconds before testing.
We observed ptf instability causing the test to fail.
- Remove config_db.json when fast-reboot into a new image.
We want the new image to reload minigraph in this case.
Signed-off-by: Ying Xie <[email protected]>1 parent c5846e1 commit af43f22
2 files changed
Lines changed: 17 additions & 4 deletions
File tree
- ansible/roles/test
- files/ptftests
- tasks/advanced_reboot
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
144 | | - | |
| 143 | + | |
| 144 | + | |
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| |||
1109 | 1109 | | |
1110 | 1110 | | |
1111 | 1111 | | |
| 1112 | + | |
1112 | 1113 | | |
1113 | 1114 | | |
1114 | 1115 | | |
1115 | 1116 | | |
1116 | 1117 | | |
1117 | 1118 | | |
1118 | | - | |
1119 | | - | |
| 1119 | + | |
| 1120 | + | |
| 1121 | + | |
| 1122 | + | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
1120 | 1129 | | |
1121 | 1130 | | |
1122 | 1131 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
0 commit comments