This is an automated email from the ASF dual-hosted git repository.
jiangtian pushed a change to branch cluster_new
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git.
from 4631046 Merge branch 'track_file_historical_versions' into cluster_new
add c8df8b7 add tests of applier and client
No new revisions were added by this update.
Summary of changes:
.../iotdb/cluster/log/applier/BaseApplier.java | 51 ++++---
.../cluster/log/logtypes/PhysicalPlanLog.java | 7 +
.../cluster/server/member/MetaGroupMember.java | 4 +-
.../iotdb/cluster/server/member/RaftMember.java | 3 +
.../iotdb/cluster/client/ClientPoolTest.java | 86 ++++++++++++
.../iotdb/cluster/common}/EnvironmentUtils.java | 38 ++----
.../org/apache/iotdb/cluster/common/IoTDBTest.java | 149 +++++++++++++++++++++
.../apache/iotdb/cluster/common/TestClient.java} | 28 ++--
.../iotdb/cluster/common/TestClientFactory.java | 35 +++++
.../iotdb/cluster/common/TestMetaGroupMember.java} | 12 +-
.../apache/iotdb/cluster/common/TestUtils.java} | 20 ++-
.../cluster/log/applier/DataLogApplierTest.java | 126 +++++++++++++++++
.../cluster/log/applier/MetaLogApplierTest.java | 89 ++++++++++++
.../iotdb/db/qp/executor/QueryProcessExecutor.java | 5 +-
.../tsfile/write/schema/MeasurementSchema.java | 1 +
15 files changed, 579 insertions(+), 75 deletions(-)
create mode 100644
cluster/src/test/java/org/apache/iotdb/cluster/client/ClientPoolTest.java
copy {server/src/test/java/org/apache/iotdb/db/utils =>
cluster/src/test/java/org/apache/iotdb/cluster/common}/EnvironmentUtils.java
(81%)
create mode 100644
cluster/src/test/java/org/apache/iotdb/cluster/common/IoTDBTest.java
copy
cluster/src/{main/java/org/apache/iotdb/cluster/server/handlers/forwarder/ForwardPullSnapshotHandler.java
=> test/java/org/apache/iotdb/cluster/common/TestClient.java} (52%)
create mode 100644
cluster/src/test/java/org/apache/iotdb/cluster/common/TestClientFactory.java
copy
cluster/src/{main/java/org/apache/iotdb/cluster/log/snapshot/SnapshotFactory.java
=> test/java/org/apache/iotdb/cluster/common/TestMetaGroupMember.java} (78%)
copy
cluster/src/{main/java/org/apache/iotdb/cluster/exception/PartitionTableUnavailableException.java
=> test/java/org/apache/iotdb/cluster/common/TestUtils.java} (61%)
create mode 100644
cluster/src/test/java/org/apache/iotdb/cluster/log/applier/DataLogApplierTest.java
create mode 100644
cluster/src/test/java/org/apache/iotdb/cluster/log/applier/MetaLogApplierTest.java