From 517ee6f142bbe46ebbabec11a865afa0a99eb41e Mon Sep 17 00:00:00 2001 From: Alexander Tokmakov Date: Tue, 30 Mar 2021 10:45:51 +0300 Subject: [PATCH] rename --- tests/jepsen.clickhouse-keeper/doc/intro.md | 2 +- tests/jepsen.clickhouse-keeper/project.clj | 2 +- tests/jepsen.clickhouse-keeper/test/jepsen/keeper_test.clj | 2 +- utils/keeper-data-dumper/main.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/jepsen.clickhouse-keeper/doc/intro.md b/tests/jepsen.clickhouse-keeper/doc/intro.md index c6e5ccbd04a..09ce235c467 100644 --- a/tests/jepsen.clickhouse-keeper/doc/intro.md +++ b/tests/jepsen.clickhouse-keeper/doc/intro.md @@ -1,3 +1,3 @@ -# Introduction to jepsen.nukeeper +# Introduction to jepsen.keeper TODO: write [great documentation](http://jacobian.org/writing/what-to-write/) diff --git a/tests/jepsen.clickhouse-keeper/project.clj b/tests/jepsen.clickhouse-keeper/project.clj index c9b24e0ce2c..c38767a767d 100644 --- a/tests/jepsen.clickhouse-keeper/project.clj +++ b/tests/jepsen.clickhouse-keeper/project.clj @@ -1,4 +1,4 @@ -(defproject jepsen.nukeeper "0.1.0-SNAPSHOT" +(defproject jepsen.keeper "0.1.0-SNAPSHOT" :injections [(.. System (setProperty "zookeeper.request.timeout" "10000"))] :description "A jepsen tests for ClickHouse Keeper" :url "https://clickhouse.tech/" diff --git a/tests/jepsen.clickhouse-keeper/test/jepsen/keeper_test.clj b/tests/jepsen.clickhouse-keeper/test/jepsen/keeper_test.clj index 35b1bab7b38..25333605351 100644 --- a/tests/jepsen.clickhouse-keeper/test/jepsen/keeper_test.clj +++ b/tests/jepsen.clickhouse-keeper/test/jepsen/keeper_test.clj @@ -15,7 +15,7 @@ (dorun (map (fn [v] (zk/delete conn v)) (take 10 (zk-range))))) (deftest a-test - (testing "nukeeper connection" + (testing "keeper connection" (.setLevel (LoggerFactory/getLogger "org.apache.zookeeper") Level/OFF) (let [conn (zk/connect "localhost:9181" :timeout-msec 5000)] diff --git a/utils/keeper-data-dumper/main.cpp b/utils/keeper-data-dumper/main.cpp index 74b5a6ddf93..11db6fc61bc 100644 --- a/utils/keeper-data-dumper/main.cpp +++ b/utils/keeper-data-dumper/main.cpp @@ -58,7 +58,7 @@ int main(int argc, char *argv[]) Poco::Logger::root().setChannel(channel); Poco::Logger::root().setLevel("trace"); } - auto * logger = &Poco::Logger::get("nukeeper-dumper"); + auto * logger = &Poco::Logger::get("keeper-dumper"); ResponsesQueue queue; SnapshotsQueue snapshots_queue{1}; CoordinationSettingsPtr settings = std::make_shared();