Merge lp:~qzhang/lava-dispatcher/fix-network-timeout into lp:lava-dispatcher
Proposed by
Spring Zhang
Status: | Rejected |
---|---|
Rejected by: | Spring Zhang |
Proposed branch: | lp:~qzhang/lava-dispatcher/fix-network-timeout |
Merge into: | lp:lava-dispatcher |
Diff against target: |
14 lines (+2/-1) 1 file modified
lava_dispatcher/client.py (+2/-1) |
To merge this branch: | bzr merge lp:~qzhang/lava-dispatcher/fix-network-timeout |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Spring Zhang (community) | Disapprove | ||
Paul Larson (community) | Needs Fixing | ||
Review via email: mp+68774@code.launchpad.net |
Description of the change
the way timeout working currently seems not work for some boards, make it a sleep to get timeout, and decrease the detection time to half of timeout.
To post a comment you must log in.
Unmerged revisions
- 81. By Spring Zhang
-
make waiting for network up time a real timeout
Can you explain more about what you are trying to accomplish here? This patch would seem to make it (assuming default timeout of 120 seconds):
1. Sleep for 120 seconds
2. check to see if the network is up
3. repeat #2 until it's up, or until 60 seconds have gone by.
Basically this is just going to cause it to wait 2 minutes before even checking to see if the network is alive, then scan it for half that time. I don't think that's what we want to do here.