erica1111-prog commented on PR #13049:
URL: https://github.com/apache/seatunnel/pull/13049#issuecomment-7045825710
@DanielLeens Thanks for the thorough review! I have addressed the feedback
in commit `b41f3119c`:
1. **Direct `createSink` Unit Tests (Issue 1)**:
Added two new unit tests in `InfluxDBFactoryTest` that invoke
`InfluxDBSinkFactory.createSink(TableSinkFactoryContext)` directly:
- `testCreateSinkValidationFailed`: passes `URL`, `DATABASES`, and
`USERNAME` without `PASSWORD` directly to `createSink(...)` and asserts
`OptionValidationException`.
- `testCreateSinkWithDefaultMeasurementSuccess`: invokes
`createSink(...)` with valid required options (`URL`, `DATABASES`) and verifies
successful `TableSink` instantiation using the default measurement fallback
from `CatalogTable`.
- *(Note on scope)*: Per the confirmed slice boundaries in #11007,
changes are strictly isolated to `InfluxDBSinkFactory` and
`InfluxDBFactoryTest` without touching E2E integration fixtures.
2. **Fork CI Workflows**:
Enabled GitHub Actions on the fork (`erica1111-prog/seatunnel`) and
dispatched the `Build` workflow on `feature/migrate-influxdb-option-rule`.
Verified locally with `spotless:check` and `mvn test -pl :connector-influxdb
-Dtest=InfluxDBFactoryTest` (`6/6` passed).
--
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]