Skip to content

Commit 3fa6c24

Browse files
authored
Increase timeout for gathering sonic hosts facts (sonic-net#17945)
What is the motivation for this PR? Gather facts will run commands on sonic hosts and get the results of platform information. But in dualtor, hosts may need more time to get the return results and caused pretest failure. How did you do it? Increase timeout in gathering facts and check if the success rate increase in a week.
1 parent 91ca1c1 commit 3fa6c24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/common/devices/sonic.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ def _gather_facts(self):
210210
self.get_asics_present_from_inventory,
211211
lambda: self._get_platform_asic(facts["platform"])
212212
],
213-
timeout=120,
213+
timeout=180,
214214
thread_count=5
215215
)
216216

0 commit comments

Comments
 (0)