Skip to content

Commit

Permalink
Fix broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
serbel324 committed Mar 6, 2024
1 parent 106c34d commit f0f352a
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 10 deletions.
11 changes: 11 additions & 0 deletions ydb/apps/version/version_definition.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#include <ydb/core/driver_lib/version/version.h>

NKikimrConfig::TCurrentCompatibilityInfo NKikimr::TCompatibilityInfo::MakeCurrent() {
using TCurrentConstructor = NKikimr::TCompatibilityInfo::TProtoConstructor::TCurrentCompatibilityInfo;
// using TVersionConstructor = NKikimr::TCompatibilityInfo::TProtoConstructor::TVersion;
// using TCompatibilityRuleConstructor = NKikimr::TCompatibilityInfo::TProtoConstructor::TCompatibilityRule;

return TCurrentConstructor{
.Application = "ydb",
}.ToPB();
}
11 changes: 11 additions & 0 deletions ydb/apps/version/ya.make
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
LIBRARY(version_definition)

SRCS(
version_definition.cpp
)

PEERDIR(
ydb/core/driver_lib/version
)

END()
10 changes: 0 additions & 10 deletions ydb/core/driver_lib/run/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,6 @@

namespace NKikimr {

NKikimrConfig::TCurrentCompatibilityInfo TCompatibilityInfo::MakeCurrent() {
using TCurrentConstructor = TCompatibilityInfo::TProtoConstructor::TCurrentCompatibilityInfo;
// using TVersionConstructor = TCompatibilityInfo::TProtoConstructor::TVersion;
// using TCompatibilityRuleConstructor = TCompatibilityInfo::TProtoConstructor::TCompatibilityRule;

return TCurrentConstructor{
.Application = "ydb",
}.ToPB();
}

int MainRun(const TKikimrRunConfig& runConfig, std::shared_ptr<TModuleFactories> factories) {
#ifdef _win32_
WSADATA dummy;
Expand Down
1 change: 1 addition & 0 deletions ydb/core/mind/bscontroller/ut_selfheal/ya.make
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ SRCS(
)

PEERDIR(
ydb/apps/version
ydb/core/blobstorage/dsproxy/mock
ydb/core/blobstorage/pdisk/mock
ydb/core/mind/bscontroller
Expand Down

0 comments on commit f0f352a

Please sign in to comment.