Skip to content

Commit 3ca0672

Browse files
committed
Fixed unit tests 7
1 parent 4b2def6 commit 3ca0672

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ydb/core/kqp/workload_service/ut/kqp_workload_service_ut.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@ Y_UNIT_TEST_SUITE(ResourcePoolClassifiersDdl) {
667667

668668
void CreateSampleResourcePoolClassifier(TIntrusivePtr<IYdbSetup> ydb, const TString& classifierId, const TQueryRunnerSettings& settings, const TString& poolId) {
669669
TSampleQueries::CheckSuccess(ydb->ExecuteQuery(TStringBuilder() << R"(
670-
GRANT ALL ON `)" << CanonizePath(settings.Database_) << R"(` TO `)" << settings.UserSID_ << R"(`;
670+
GRANT ALL ON `)" << CanonizePath(settings.Database_ ? settings.Database_ : ydb->GetSettings().DomainName_) << R"(` TO `)" << settings.UserSID_ << R"(`;
671671
CREATE RESOURCE POOL )" << poolId << R"( WITH (
672672
CONCURRENT_QUERY_LIMIT=0
673673
);

0 commit comments

Comments
 (0)