Skip to content

Commit

Permalink
improve tiered storage system test
Browse files Browse the repository at this point in the history
  • Loading branch information
showuon committed Aug 20, 2024
1 parent 4b54ddc commit 2e88150
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions development-docs/TESTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -396,11 +396,11 @@ Pass additional parameters to `mvn` by populating the `EXTRA_ARGS` env var.

Use the `verify` build goal and provide `-Dit.test=TestClassName[#testMethodName]` system property.

mvn verify -pl systemtest -P all -Dit.test=KafkaST#testCustomAndUpdatedValues
mvn verify -pl systemtest -P all -Dit.test=KafkaST#testJvmAndResources

You can also run a test with a particular feature gate enabled via the feature gate environment variable.

STRIMZI_FEATURE_GATES="+FeatureName" mvn verify -pl systemtest -P all -Dit.test=KafkaST#testCustomAndUpdatedValues
STRIMZI_FEATURE_GATES="+FeatureName" mvn verify -pl systemtest -P all -Dit.test=KafkaST#testJvmAndResources

## Skip Teardown

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,9 @@ void testTieredStorageWithAivenPlugin() {
.addToConfig("storage.aws.secret.access.key", SetupMinio.ADMIN_CREDS)
.endRemoteStorageManager()
.endTieredStorageCustomTiered()
// reduce the interval to speed up the test
.addToConfig("remote.log.manager.task.interval.ms", 5000)
.addToConfig("log.retention.check.interval.ms", 5000)
.endKafka()
.endSpec()
.build());
Expand Down

0 comments on commit 2e88150

Please sign in to comment.