feat(inkless:test): implement system tests for classic to diskless switch#581
feat(inkless:test): implement system tests for classic to diskless switch#581giuseppelillo wants to merge 1 commit into
Conversation
|
|
||
| - name: software.amazon.awssdk | ||
| level: WARN | ||
|
|
||
| - name: io.netty | ||
| level: WARN |
There was a problem hiding this comment.
Avoid overfilling logs with S3 debug logs
| def supports_command_config(self): | ||
| return self >= V_4_2_0 | ||
|
|
||
| def supports_formatter_property(self): | ||
| return self >= V_4_2_0 | ||
|
|
||
| def supports_command_property(self): | ||
| return self >= V_4_2_0 | ||
|
|
There was a problem hiding this comment.
Needed to run tests, align with upstream: https://github.com/apache/kafka/blob/trunk/tests/kafkatest/version.py
9027a20 to
5de7cf2
Compare
5de7cf2 to
ee8517b
Compare
8ec2d9d to
716e962
Compare
|
|
||
| systemTestLibs { | ||
| dependsOn testJar | ||
| } |
There was a problem hiding this comment.
Necessary to pack jars for tiered storage tests
There was a problem hiding this comment.
Pull request overview
Adds a new Inkless system test suite to exercise classic-to-diskless (and classic+tiered-to-diskless) topic migration paths under normal operation and injected faults, plus supporting test harness/build tweaks needed to run these scenarios in ducktape.
Changes:
- Introduce
InklessTopicMigrationTestwith migration validation scenarios (post-migration availability, mid-migration fault tolerance via Trogdor, and operational/concurrent cases). - Extend
KafkaServicewith helper methods to alter/describe topic configs viakafka-configs.sh. - Update test infra: add Kafka 4.2 version flags, quiet noisy AWS/Netty logs in system tests, and ensure
:storagetest JAR is built as part ofsystemTestLibs.
Reviewed changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| tests/kafkatest/version.py | Add Kafka 4.2 version constants and feature-flag helpers used by CLI wrappers. |
| tests/kafkatest/tests/inkless/inkless_topic_migration_test.py | New end-to-end system tests for classic→diskless migration (including tiered storage and fault injection). |
| tests/kafkatest/services/kafka/templates/log4j2.yaml | Reduce AWS SDK and Netty log noise in Log4j2-based broker/test logs. |
| tests/kafkatest/services/kafka/templates/log4j.properties | Reduce AWS SDK and Netty log noise in Log4j1-based broker/test logs. |
| tests/kafkatest/services/kafka/kafka.py | Add alter_topic_config and describe_topic_config helpers used by the migration tests. |
| build.gradle | Make :storage:systemTestLibs depend on testJar so the storage test JAR is produced for system tests. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
716e962 to
c8d42ce
Compare
8676d3b to
28f4bd2
Compare
ddba6d6 to
11c584f
Compare
11c584f to
f6f2f31
Compare
No description provided.