VGalaxies commented on PR #17926:
URL: https://github.com/apache/iotdb/pull/17926#issuecomment-4689183107

   Added an integration test for the termination-drain scenario requested in 
review.\n\nWhat it covers:\n- table-model snapshot topic with TsFile 
subscription format\n- forced TsFile parsing via start-time so data is buffered 
in SubscriptionPipeTsFileEventBatch\n- large TsFile batch delay/size thresholds 
so snapshot rows stay pending until the terminate event arrives\n- a background 
consumer continuously drains and commits all emitted TsFile messages\n- the 
test asserts the subscription auto-completes and receiver data contains the 
expected snapshot rows\n\nVerification:\n`mvn verify -DskipUTs 
-Dit.test=org.apache.iotdb.subscription.it.dual.tablemodel.IoTDBSubscriptionTopicIT#testTsFileSnapshotDrainsPendingBatchBeforeTermination
 -DfailIfNoTests=false -Dfailsafe.failIfNoSpecifiedTests=false -pl 
integration-test -am -P MultiClusterIT2SubscriptionTableArchVerification -P 
with-integration-tests`\n\nResult: BUILD SUCCESS, Tests run: 1, Failures: 0, 
Errors: 0, Skipped: 0.


-- 
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]

Reply via email to