You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tools/lab_bisect: Add retry logic for server connection errors (#75)
When Batfish server fails to start or connection errors occur during
testing, retry once with a clean server restart before skipping the
commit. This prevents transient server issues from being treated as
test failures during bisection.
- Add retry_count parameter to test_commit() method
- Retry server startup failures once before giving up
- Detect connection errors in test output and retry once
- Skip commits (return None) after retry failure instead of treating
as test failures (return False)
- Add _is_connection_error() helper to detect various connection
patterns
---
**Stack**:
- #76
- #75 ⬅
⚠️ *Part of a stack created by [spr](https://github.com/ejoffe/spr). Do
not merge manually using the UI - doing so may have unexpected results.*
0 commit comments