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 c8df8b7 add tests of applier and client
add 5414654 add log serialize test and catch-up test
No new revisions were added by this update.
Summary of changes:
.../java/org/apache/iotdb/cluster/log/Log.java | 21 ++++
.../org/apache/iotdb/cluster/log/LogParser.java | 6 +
.../iotdb/cluster/log/catchup/LogCatchUpTask.java | 21 ++--
.../cluster/log/catchup/SnapshotCatchUpTask.java | 15 +--
.../iotdb/cluster/log/logtypes/AddNodeLog.java | 21 ++++
.../iotdb/cluster/log/logtypes/CloseFileLog.java | 22 ++++
.../cluster/log/logtypes/PhysicalPlanLog.java | 21 ++++
.../apache/iotdb/cluster/common/TestClient.java | 10 +-
.../org/apache/iotdb/cluster/common/TestLog.java | 54 +++++++++
.../apache/iotdb/cluster/common/TestSnapshot.java} | 48 ++++----
.../org/apache/iotdb/cluster/common/TestUtils.java | 17 +++
.../cluster/log/catchup/LogCatchUpTaskTest.java | 91 ++++++++++++++
.../log/catchup/SnapshotCatchUpTaskTest.java | 132 +++++++++++++++++++++
.../cluster/log/logtypes/SerializeLogTest.java | 63 ++++++++++
.../db/qp/physical/sys/SetStorageGroupPlan.java | 20 +++-
15 files changed, 513 insertions(+), 49 deletions(-)
create mode 100644
cluster/src/test/java/org/apache/iotdb/cluster/common/TestLog.java
copy
cluster/src/{main/java/org/apache/iotdb/cluster/log/snapshot/RemoteFileSnapshot.java
=> test/java/org/apache/iotdb/cluster/common/TestSnapshot.java} (53%)
create mode 100644
cluster/src/test/java/org/apache/iotdb/cluster/log/catchup/LogCatchUpTaskTest.java
create mode 100644
cluster/src/test/java/org/apache/iotdb/cluster/log/catchup/SnapshotCatchUpTaskTest.java
create mode 100644
cluster/src/test/java/org/apache/iotdb/cluster/log/logtypes/SerializeLogTest.java