Skip to content

Commit b195618

Browse files
nshestakovGazizonoki
authored andcommitted
Moved commit "Fix autopartitioning of topics with path that is not root of database" from ydb repo
1 parent c1c897e commit b195618

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

src/client/topic/ut/ut_utils/topic_sdk_test_setup.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,3 +136,9 @@ TTopicClient TTopicSdkTestSetup::MakeClient() const
136136
{
137137
return TTopicClient(MakeDriver());
138138
}
139+
140+
NYdb::NTable::TTableClient TTopicSdkTestSetup::MakeTableClient() const
141+
{
142+
return NYdb::NTable::TTableClient(MakeDriver(), NYdb::NTable::TClientSettings()
143+
.UseQueryCache(false));
144+
}

src/client/topic/ut/ut_utils/topic_sdk_test_setup.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ class TTopicSdkTestSetup {
3333
TLog& GetLog();
3434

3535
TTopicClient MakeClient() const;
36+
NYdb::NTable::TTableClient MakeTableClient() const;
3637

3738
TDriver MakeDriver() const;
3839
TDriver MakeDriver(const TDriverConfig& config) const;

0 commit comments

Comments
 (0)