JackieTien97 opened a new pull request, #18944:
URL: https://github.com/apache/iotdb/pull/18944
## Description
`SessionSeedNodeFallbackIT` constructs its discovery suppliers with
hardcoded `root/root` credentials, while its business session uses the client
defaults. In downstream editions with a different default password, discovery
can fail authentication and retain the initial seed snapshot until the endpoint
assertion times out.
Use `SessionConfig.DEFAULT_USER` and `SessionConfig.DEFAULT_PASSWORD` for
both suppliers. Add `integration-test/AGENTS.md` with guidance on portable
credentials, asynchronous state waits, failure recovery, resource cleanup, and
focused verification.
## Validation
- `mvn spotless:apply -pl integration-test -P with-integration-tests` passed.
- Clean reactor verification passed on this PR commit:
```bash
mvn clean verify -DskipUTs \
'-Dit.test=SessionSeedNodeFallbackIT#testBusinessAndBackgroundRecoveryThroughOmittedSeed'
\
-DfailIfNoTests=false -Dfailsafe.failIfNoSpecifiedTests=false \
-pl integration-test -am -PClusterIT -P with-integration-tests
```
The selected IT method ran against an Apache IoTDB 1C3D cluster: **1 test, 0
failures, 0 errors, 0 skipped**. Downstream editions were not executed.
This PR has:
- [x] been self-reviewed.
- [x] added integration-test authoring guidelines.
- [x] been tested in an IoTDB test cluster.
##### Key changed/added classes
- `SessionSeedNodeFallbackIT`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]