diff options
author | Oleg Doronin <dorooleg@yandex.ru> | 2024-01-21 18:35:29 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-21 18:35:29 +0300 |
commit | 6fe76108802fcf3f811a5aa0b941d424b298a1f1 (patch) | |
tree | 04d69b2ed3f731f50560424ae537101c0987256e | |
parent | dbe5bdc889a888096777019386e319dcc999f6c7 (diff) | |
download | ydb-6fe76108802fcf3f811a5aa0b941d424b298a1f1.tar.gz |
scheme tests have been fixed (#1182)
-rw-r--r-- | ydb/core/testlib/test_client.cpp | 2 |
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; |