Commit feaa251
authored
Updated pretest routine to not overwrite the testbed metadata. (sonic-net#21834)
Needed for the switch+dpu pretest combo runs.
Modified the test_pretest.py file to update the testbed metadata on the subsequent calls.
This resolved the pretest conflicts between the switch and the dpu pretests.
What is the motivation for this PR?
Enable pretest for both switch and dpu in any order/place of the test sequence.
How did you do it?
Modified the code to update JSON instead of overwriting it
How did you verify/test it?
Ran multiple switch and DPI regressions
Signed-off-by: nmirin <nikolay.a.mirin@gmail.com>1 parent 378e3bb commit feaa251
1 file changed
Lines changed: 38 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
145 | 180 | | |
146 | 181 | | |
147 | 182 | | |
| |||
151 | 186 | | |
152 | 187 | | |
153 | 188 | | |
154 | | - | |
155 | 189 | | |
| 190 | + | |
| 191 | + | |
156 | 192 | | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
| 193 | + | |
165 | 194 | | |
166 | 195 | | |
167 | 196 | | |
| |||
0 commit comments