Russole opened a new pull request, #23271:
URL: https://github.com/apache/kafka/pull/23271
## Summary
Speed up several Streams restart-based integration tests by leaving the
group before immediate restarts with the same `application.id`.
## Testing
Ran affected integration test methods:
```bash
./gradlew :streams:integration-tests:integrationTest \
--tests
org.apache.kafka.streams.integration.SelfJoinUpgradeIntegrationTest.shouldUpgradeWithTopologyOptimizationOff
\
--tests
org.apache.kafka.streams.integration.SelfJoinUpgradeIntegrationTest.shouldRestartWithTopologyOptimizationOn
\
--tests
org.apache.kafka.streams.integration.SessionsStoreWithHeadersTest.shouldRestore
\
--tests
org.apache.kafka.streams.integration.SessionsStoreWithHeadersTest.shouldManualUpgradeFromTimestampedToHeaders
\
--tests
org.apache.kafka.streams.integration.TimestampedKeyValueStoreWithHeadersTest.shouldRestore
\
--tests
org.apache.kafka.streams.integration.TimestampedKeyValueStoreWithHeadersTest.shouldManualUpgradeFromTimestampedToHeaders
\
--tests
org.apache.kafka.streams.integration.TimestampedWindowStoreWithHeadersTest.shouldRestore
\
--tests
org.apache.kafka.streams.integration.TimestampedWindowStoreWithHeadersTest.shouldManualUpgradeFromTimestampedToHeaders
\
--tests
org.apache.kafka.streams.integration.VersionedKeyValueStoreIntegrationTest.shouldRestore
\
--tests
org.apache.kafka.streams.integration.VersionedKeyValueStoreIntegrationTest.shouldManualUpgradeFromNonVersionedTimestampedToVersioned
\
--tests
org.apache.kafka.streams.integration.VersionedKeyValueStoreIntegrationTest.shouldManualUpgradeFromNonVersionedNonTimestampedToVersioned
```
## Runtime comparison
Before this change: `3m 16s`
After this change: `35s`
--
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]