aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOleg Doronin <dorooleg@yandex.ru>2024-01-21 18:35:29 +0300
committerGitHub <noreply@github.com>2024-01-21 18:35:29 +0300
commit6fe76108802fcf3f811a5aa0b941d424b298a1f1 (patch)
tree04d69b2ed3f731f50560424ae537101c0987256e
parentdbe5bdc889a888096777019386e319dcc999f6c7 (diff)
downloadydb-6fe76108802fcf3f811a5aa0b941d424b298a1f1.tar.gz
scheme tests have been fixed (#1182)
-rw-r--r--ydb/core/testlib/test_client.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/ydb/core/testlib/test_client.cpp b/ydb/core/testlib/test_client.cpp
index 6ef5ad171c..1100e4faa1 100644
--- a/ydb/core/testlib/test_client.cpp
+++ b/ydb/core/testlib/test_client.cpp
@@ -245,6 +245,8 @@ namespace Tests {
appData.DataStreamsAuthFactory = Settings->DataStreamsAuthFactory.get();
appData.PersQueueMirrorReaderFactory = Settings->PersQueueMirrorReaderFactory.get();
appData.HiveConfig.MergeFrom(Settings->AppConfig->GetHiveConfig());
+ const auto& hostnamePatterns = Settings->AppConfig->GetQueryServiceConfig().GetHostnamePatterns();
+ appData.ExternalSourceFactory = NExternalSource::CreateExternalSourceFactory(std::vector<TString>(hostnamePatterns.begin(), hostnamePatterns.end()));
appData.DynamicNameserviceConfig = new TDynamicNameserviceConfig;
auto dnConfig = appData.DynamicNameserviceConfig;