diff --git a/src/Interpreters/tests/gtest_async_inserts.cpp b/src/Interpreters/tests/gtest_async_inserts.cpp deleted file mode 100644 index 0720592b8a7..00000000000 --- a/src/Interpreters/tests/gtest_async_inserts.cpp +++ /dev/null @@ -1,63 +0,0 @@ -#include - -#include -#include -#include "Processors/Executors/PullingPipelineExecutor.h" - -#include -#include -#include -#include -#include -#include -#include -#include "Common/Exception.h" - -using namespace DB; - -static SharedContextHolder shared_context; -static ContextMutablePtr context; - -static bool initialize() -{ - try - { - shared_context = Context::createShared(); - context = Context::createGlobal(shared_context.get()); - context->makeGlobalContext(); - context->setApplicationType(Context::ApplicationType::LOCAL); - - // registerFunctions(); - // registerAggregateFunctions(); - // registerTableFunctions(); - // registerStorages(); - // registerDictionaries(); - // registerDisks(); - // registerFormats(); - - return true; - } - catch (...) - { - tryLogCurrentException(__PRETTY_FUNCTION__); - throw; - } -} - -[[ maybe_unused ]] static bool initialized = initialize(); - -TEST(AsyncInsertQueue, SimpleTest) -{ - try - { - auto io = executeQuery("CREATE TABLE SimpleTest ENGINE=Memory()", context, true, QueryProcessingStage::Complete); - PullingPipelineExecutor executor(io.pipeline); - Block res; - while (!res && executor.pull(res)); - } - catch (...) - { - tryLogCurrentException(__PRETTY_FUNCTION__); - } - -}