[codex] Add shared rich integration test suite#18324
Draft
[codex] Add shared rich integration test suite#18324
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #18324 +/- ##
=========================================
Coverage 63.61% 63.62%
Complexity 1659 1659
=========================================
Files 3246 3246
Lines 197549 197549
Branches 30577 30577
=========================================
+ Hits 125677 125684 +7
+ Misses 61830 61825 -5
+ Partials 10042 10040 -2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
5c313da to
9c1425a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
pinot-integration-testsviaSharedRichClusterIntegrationTestpinot-integration-tests/INTEGRATION_TEST_SETUP_GROUPS.mdCurrent Shared-Rich Batch
The main shared-rich suite currently covers 31 source test classes / 34 concrete TestNG classes / 252 TestNG tests.
ErrorCodesIntegrationTestis represented by its four concrete inner classes.Compared on this workstation:
886.69s563.98sThat is a
322.71swall-clock reduction, about36%for this batch.Exact-Config Suites
These profiles preserve process-config buckets and component-count buckets instead of mixing incompatible setup. Some are speed wins now; some are setup-correctness buckets that become useful as more compatible tests are added.
shared-mse-explain-cluster-integration-test-suite23.86sshared-no-override-offline-cluster-integration-test-suite122.42sshared-cursor-memory-cluster-integration-test-suite74.29sshared-cursor-fs-cluster-integration-test-suite30.30sshared-cursor-cron-cluster-integration-test-suite24.47sshared-empty-response-cluster-integration-test-suite22.98sshared-broker-service-discovery-cluster-integration-test-suite18.09sshared-broker-query-limit-cluster-integration-test-suite21.43sshared-null-handling-cluster-integration-test-suite23.00sshared-msq-without-stats-cluster-integration-test-suite21.59sshared-group-by-trim-cluster-integration-test-suite20.59sshared-jmx-metrics-cluster-integration-test-suite26.76sshared-window-accounting-cluster-integration-test-suite19.73sshared-offline-grpc-cluster-integration-test-suite35.50sshared-offline-secure-grpc-cluster-integration-test-suite27.53sshared-cpu-broker-query-killing-cluster-integration-test-suite43.65sshared-cpu-server-query-killing-cluster-integration-test-suite43.60sshared-memory-server-query-killing-cluster-integration-test-suite40.79sshared-msq-small-buffer-cluster-integration-test-suite34.42sshared-query-workload-cluster-integration-test-suite39.11sshared-realtime-rate-limiter-cluster-integration-test-suite92.03sshared-kafka-partition-cluster-integration-test-suite112.96sshared-exactly-once-kafka-cluster-integration-test-suite104.45sshared-realtime-manager-cluster-integration-test-suite87.81sshared-controller-service-discovery-cluster-integration-test-suite16.50sshared-cursor-auth-cluster-integration-test-suite25.53sshared-timeseries-cluster-integration-test-suite18.04sshared-timeseries-auth-cluster-integration-test-suite19.11sshared-basic-auth-batch-cluster-integration-test-suite25.76sshared-row-level-security-cluster-integration-test-suite64.51sshared-tls-cluster-integration-test-suite52.14sshared-url-auth-realtime-cluster-integration-test-suite47.64sshared-grpc-broker-cluster-integration-test-suite53.04sshared-hybrid-cluster-integration-test-suite161.93sshared-controller-periodic-tasks-cluster-integration-test-suite306.88sshared-offline-cluster-integration-test-suite103.43sshared-multi-stage-engine-custom-tenant-integration-test-suite55.35sshared-llc-realtime-cluster-integration-test-suite462.10sshared-peer-download-llc-realtime-cluster-integration-test-suite106.13sshared-confluent-schema-registry-realtime-cluster-integration-test-suiteshared-segment-completion-cluster-integration-test-suite19.41sshared-controller-only-cluster-integration-test-suite109.46sshared-multi-nodes-offline-cluster-integration-test-suite119.99sshared-dedup-preload-cluster-integration-test-suite24.75sshared-upsert-preload-cluster-integration-test-suite27.68sdisabled-manual-cluster-integration-test-suite12.14sRecent Timing Notes
LLCRealtimeClusterIntegrationTest,LLCRealtimeKafka3ClusterIntegrationTest, andLLCRealtimeKafka4ClusterIntegrationTest: 54 tests, including 6 expected skips, passed with a combined per-class baseline of508.83s; one shared profile passed in462.10s, a46.73sreduction.18.03s, shared19.41s.ServerStarterIntegrationTestandControllerLeaderLocatorIntegrationTestpassed with a combined per-class baseline of about125.82s; one shared profile passed in109.46s, a16.36sreduction.MultiNodesOfflineClusterIntegrationTestpassed per-class in119.01s; one shared profile passed in119.99s. This is a setup-correctness bucket for the 2-broker/3-server topology.DedupPreloadIntegrationTestpassed per-class in24.10s; one shared profile passed in24.75s. It stays separate because it restarts the server with the dedup preload server override.UpsertTableSegmentPreloadIntegrationTestpassed per-class in28.60s; one shared profile passed in27.68s. It stays separate because its server override enables snapshot/preload plus one preload thread.ChaosMonkeyIntegrationTestandTPCHGeneratedQueryIntegrationTestcurrently have no runnable TestNG methods, so the profile starts no shared infra and passed with 0 tests in12.14s.14.86swith 1 setup failure and 10 skipped methods for the same reason.Parked Candidates
CancelQueryIntegrationTests: shared patch compiled, but direct and shared validation hit the existing client-query-id cancellation race. The broker reported the client query id as unknown until the single-stage query timed out, so this needs a targeted cancellation-test fix before suite wiring.PauselessRealtimeIngestionWithDedupIntegrationTest: intermittent unavailable realtime segments under strict replica-group routing.KafkaPartitionSubsetChaosIntegrationTest: own chaos topology with pause/resume, force-commit, and server restart coverage.PurgeMinionClusterIntegrationTest: shared-mode patch compiled, buttestRealtimeLastSegmentPreservationtimed out waiting for purged realtime records.UpsertCompactMergeTaskIntegrationTest: shared-mode patch compiled, but the task generator skipped segments with empty download URLs and no task names were scheduled.MultiStageEngineIntegrationTest,MergeRollupMinionClusterIntegrationTest: previous patch attempts need a tighter follow-up pass before inclusion.Validation
./mvnw spotless:apply -pl pinot-integration-tests./mvnw checkstyle:check -pl pinot-integration-tests./mvnw license:format -pl pinot-integration-tests./mvnw license:check -pl pinot-integration-tests./mvnw -pl pinot-integration-tests -DskipTests test-compilegit diff --check./mvnw -pl pinot-integration-tests -Pshared-rich-cluster-integration-test-suite test(252tests,563.98s)252tests,886.69s)./mvnw -pl pinot-integration-tests -Pshared-llc-realtime-cluster-integration-test-suite test(54tests,462.10s, 6 expected skips)36tests,333.44s, 4 expected skips)SegmentCompletionIntegrationTest(1test,18.03s)./mvnw -pl pinot-integration-tests -Pshared-segment-completion-cluster-integration-test-suite test(1test,19.41s)KafkaConfluentSchemaRegistryAvroMessageDecoderRealtimeClusterIntegrationTestattempted; blocked by missing Docker/Testcontainers environmentServerStarterIntegrationTest(6tests, about109s)ControllerLeaderLocatorIntegrationTest(1test,16.82s)./mvnw -pl pinot-integration-tests -Pshared-controller-only-cluster-integration-test-suite test(7tests,109.46s)MultiNodesOfflineClusterIntegrationTest(137tests,119.01s)./mvnw -pl pinot-integration-tests -Pshared-multi-nodes-offline-cluster-integration-test-suite test(137tests,119.99s)DedupPreloadIntegrationTest(1test,24.10s)./mvnw -pl pinot-integration-tests -Pshared-dedup-preload-cluster-integration-test-suite test(1test,24.75s)UpsertTableSegmentPreloadIntegrationTest(1test,28.60s)./mvnw -pl pinot-integration-tests -Pshared-upsert-preload-cluster-integration-test-suite test(1test,27.68s)./mvnw -pl pinot-integration-tests -Pdisabled-manual-cluster-integration-test-suite test(0tests,12.14s)CancelQueryIntegrationTestsattempted; blocked by client-query-id cancellation racepinot-integration-tests/INTEGRATION_TEST_SETUP_GROUPS.md