test(ha-config-bootstrap): add RED-phase tests for xce_request_with_retry (task 10.1)
This commit is contained in:
parent
97a76617e6
commit
bb8e531a12
4 changed files with 338 additions and 1 deletions
|
|
@ -236,7 +236,7 @@ Dependency order: startup validation (D) unblocks vtaskmgr before election (A);
|
|||
- _Depends: 9.2_
|
||||
|
||||
- [ ] 10. Change G: libxce client-side transparent retry (P)
|
||||
- [ ] 10.1 Write failing tests for xce_request_with_retry()
|
||||
- [x] 10.1 Write failing tests for xce_request_with_retry()
|
||||
- In `src/lib/testsuite/test_libxce_retry.c`: test `XCE_ERR_NOT_READY` → backoff + retry same host; test `XCE_ERR_STANDBY` with `redirect_host/port` → reconnect to redirect + retry; test `XCE_ERR_STANDBY` without redirect → fallback to backoff; test `XCE_ERR_AUTH` → surface immediately (no retry); test `max_retries` exhausted → surface last error; test 50 concurrent simulated clients → all succeed within 30s (backoff prevents starvation)
|
||||
- `make test` fails
|
||||
- _Requirements: 7.1, 7.2, 7.3, 7.4, 7.5, 7.6_
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue