Caideyipi opened a new pull request, #18955:
URL: https://github.com/apache/iotdb/pull/18955

   ## Description
   
   Partial backport of c535723a17a9492dc4479de5af7ab0c02864b509 (#18941) to 
`dev/1.3`.
   
   After stopping a pipe and inserting more sender data, an eventual assertion 
can succeed on the first read of the receiver's existing contents and miss 
later unwanted transfers. Port the five applicable tree-model 
lifecycle/protocol assertions to `assertDataAlwaysOnEnv`, and replace the two 
fixed five-second sleeps with continuous checks. Adapt the paths to the 1.3 
`pipe/it/autocreate` layout; the table-model tests in the original commit do 
not exist in this branch.
   
   The 1.3 `assertDataAlwaysOnEnv` also needs a small prerequisite fix: it 
configures Awaitility's `failFast` callback without a terminal condition, so it 
never executes a query. Restore the polling behavior already used on master 
with `during`, a bounded timeout, and `until`, checking the result immediately 
and throughout the observation window.
   
   ## Validation
   
   Apache IoTDB 1.3.7-SNAPSHOT, JDK 17, commit `eba6ac4b1db`:
   
   - Spotless and Checkstyle passed. Clean reactor compilation and 
integration-test node template packaging completed.
   - Seven targeted IT methods passed with no failures or skips, using direct 
JUnit method requests through the existing `IoTDBTestRunner` and 
`MultiClusterEnv` with the freshly built node templates. Each sender/receiver 
cluster used 1 ConfigNode and 1 DataNode, reduced JVM heaps, and two visible 
processors:
     - `IoTDBPipeLifeCycleIT`: `testLifeCycleLogMode`, `testLifeCycleFileMode`, 
`testLifeCycleHybridMode`, `testReceiverAlreadyHaveTimeSeries`.
     - `IoTDBPipeProtocolIT`: `test1C1DWithRatisRatisIot`, 
`test1C1DWithSimpleSimpleIot`, `test1C1DWithRatisRatisSimple`.
   - A lightweight JDBC-proxy regression harness passed against the compiled 
helper: stable results are repeatedly queried for the full window, delayed 
changes fail on the first mismatching sample, immediate mismatches fail 
immediately, and JDBC resources close. The same harness reproduces the missing 
polling on the original `origin/dev/1.3` helper.
   
   The initial full Maven verification reached integration-test startup but 
encountered JVM native-memory allocation failures on this Windows host. The 
lifecycle tests' default 1C3D topology and the protocol tests' 3C3D variants 
remain unverified locally.
   
   - [x] Self-reviewed.
   


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