mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-17 21:24:28 +00:00
Some code movements
This commit is contained in:
parent
4886c79625
commit
6896558424
@ -1,4 +1,4 @@
|
|||||||
#include <Common/ZooKeeper/TestKeeperStorage.h>
|
#include <Coordination/TestKeeperStorage.h>
|
||||||
#include <Common/ZooKeeper/IKeeper.h>
|
#include <Common/ZooKeeper/IKeeper.h>
|
||||||
#include <Common/setThreadName.h>
|
#include <Common/setThreadName.h>
|
||||||
#include <mutex>
|
#include <mutex>
|
@ -215,12 +215,6 @@ TEST(CoordinationTest, TestSummingRaft3)
|
|||||||
std::this_thread::sleep_for(std::chrono::milliseconds(100));
|
std::this_thread::sleep_for(std::chrono::milliseconds(100));
|
||||||
}
|
}
|
||||||
|
|
||||||
while (s2.state_machine->getValue() != 78)
|
|
||||||
{
|
|
||||||
std::cout << "Waiting s2 to apply entry\n";
|
|
||||||
std::this_thread::sleep_for(std::chrono::milliseconds(100));
|
|
||||||
}
|
|
||||||
|
|
||||||
while (s3.state_machine->getValue() != 78)
|
while (s3.state_machine->getValue() != 78)
|
||||||
{
|
{
|
||||||
std::cout << "Waiting s3 to apply entry\n";
|
std::cout << "Waiting s3 to apply entry\n";
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
#include <Common/Stopwatch.h>
|
#include <Common/Stopwatch.h>
|
||||||
#include <Common/formatReadable.h>
|
#include <Common/formatReadable.h>
|
||||||
#include <Common/thread_local_rng.h>
|
#include <Common/thread_local_rng.h>
|
||||||
#include <Common/ZooKeeper/TestKeeperStorage.h>
|
#include <Coordination/TestKeeperStorage.h>
|
||||||
#include <Compression/ICompressionCodec.h>
|
#include <Compression/ICompressionCodec.h>
|
||||||
#include <Core/BackgroundSchedulePool.h>
|
#include <Core/BackgroundSchedulePool.h>
|
||||||
#include <Formats/FormatFactory.h>
|
#include <Formats/FormatFactory.h>
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
#include <Interpreters/Context.h>
|
#include <Interpreters/Context.h>
|
||||||
#include <Common/ZooKeeper/ZooKeeperCommon.h>
|
#include <Common/ZooKeeper/ZooKeeperCommon.h>
|
||||||
#include <Common/ZooKeeper/ZooKeeperConstants.h>
|
#include <Common/ZooKeeper/ZooKeeperConstants.h>
|
||||||
#include <Common/ZooKeeper/TestKeeperStorage.h>
|
#include <Coordination/TestKeeperStorage.h>
|
||||||
#include <IO/WriteBufferFromPocoSocket.h>
|
#include <IO/WriteBufferFromPocoSocket.h>
|
||||||
#include <IO/ReadBufferFromPocoSocket.h>
|
#include <IO/ReadBufferFromPocoSocket.h>
|
||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
|
Loading…
Reference in New Issue
Block a user