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/iotdb.git.
from 106899f Merge branch 'cluster_premerge' into cluster_new
add 3cfdecd add tests
No new revisions were added by this update.
Summary of changes:
.../apache/iotdb/cluster/log/LogDispatcher.java | 49 +++--
.../cluster/log/snapshot/MetaSimpleSnapshot.java | 47 ++---
.../iotdb/cluster/server/member/RaftMember.java | 2 +-
.../iotdb/cluster/common/TestLogManager.java | 1 +
.../org/apache/iotdb/cluster/common/TestUtils.java | 3 +-
.../iotdb/cluster/log/CommitLogCallbackTest.java} | 35 ++--
.../iotdb/cluster/log/CommitLogTaskTest.java | 72 +++++++
.../iotdb/cluster/log/LogDispatcherTest.java | 224 +++++++++++++++++++++
.../iotdb/cluster/log/snapshot/SimpleSnapshot.java | 3 -
9 files changed, 370 insertions(+), 66 deletions(-)
copy
cluster/src/{main/java/org/apache/iotdb/cluster/log/CommitLogCallback.java =>
test/java/org/apache/iotdb/cluster/log/CommitLogCallbackTest.java} (61%)
create mode 100644
cluster/src/test/java/org/apache/iotdb/cluster/log/CommitLogTaskTest.java
create mode 100644
cluster/src/test/java/org/apache/iotdb/cluster/log/LogDispatcherTest.java
rename cluster/src/{main =>
test}/java/org/apache/iotdb/cluster/log/snapshot/SimpleSnapshot.java (99%)