Skip to content

Add compat fixtures #18087

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ydb/tests/compatibility/test_compatibility.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from decimal import Decimal


last_stable_binary_path = yatest.common.binary_path("ydb/tests/library/compatibility/ydbd-last-stable")
last_stable_binary_path = yatest.common.binary_path("ydb/tests/library/compatibility/binaries/ydbd-last-stable")
current_binary_path = kikimr_driver_path()

all_binary_combinations = [
Expand Down
2 changes: 1 addition & 1 deletion ydb/tests/compatibility/test_export_s3.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from ydb.tests.oss.ydb_sdk_import import ydb


last_stable_binary_path = yatest.common.binary_path("ydb/tests/library/compatibility/ydbd-last-stable")
last_stable_binary_path = yatest.common.binary_path("ydb/tests/library/compatibility/binaries/ydbd-last-stable")
current_binary_path = kikimr_driver_path()

all_binary_combinations = [
Expand Down
2 changes: 1 addition & 1 deletion ydb/tests/compatibility/test_followers.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
class TestFollowersCompatibility(object):
@classmethod
def setup_class(cls):
last_stable_path = yatest.common.binary_path("ydb/tests/library/compatibility/ydbd-last-stable")
last_stable_path = yatest.common.binary_path("ydb/tests/library/compatibility/binaries/ydbd-last-stable")
binary_paths = [kikimr_driver_path(), last_stable_path]
cls.datacenters = [1, 2, 3]
cls.dc_map = {i : cls.datacenters[(i - 1) % 3] for i in range(1, 10)}
Expand Down
2 changes: 1 addition & 1 deletion ydb/tests/compatibility/test_stress.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from ydb.tests.library.common.types import Erasure
from ydb.tests.stress.simple_queue.workload import Workload

last_stable_binary_path = yatest.common.binary_path("ydb/tests/library/compatibility/ydbd-last-stable")
last_stable_binary_path = yatest.common.binary_path("ydb/tests/library/compatibility/binaries/ydbd-last-stable")
current_binary_path = kikimr_driver_path()

all_binary_combinations = [
Expand Down
3 changes: 2 additions & 1 deletion ydb/tests/compatibility/ya.make
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,14 @@ INCLUDE(${ARCADIA_ROOT}/ydb/tests/tools/s3_recipe/recipe.inc)
DEPENDS(
ydb/apps/ydb
ydb/apps/ydbd
ydb/tests/library/compatibility
ydb/tests/library/compatibility/binaries
)

PEERDIR(
contrib/python/boto3
ydb/tests/library
ydb/tests/stress/simple_queue/workload
ydb/tests/library/compatibility
)

END()
15 changes: 15 additions & 0 deletions ydb/tests/library/compatibility/binaries/ya.make
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
RECURSE(downloader)

UNION()

RUN_PROGRAM(
ydb/tests/library/compatibility/binaries/downloader stable-25-1/release/ydbd ydbd-last-stable
OUT_NOAUTO ydbd-last-stable
)

RUN_PROGRAM(
ydb/tests/library/compatibility/binaries/downloader stable-24-4/release/ydbd ydbd-prelast-stable
OUT_NOAUTO ydbd-prelast-stable
)

END()
Empty file.
12 changes: 6 additions & 6 deletions ydb/tests/library/compatibility/ya.make
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
UNION()
RECURSE(binaries)

RUN_PROGRAM(
ydb/tests/library/compatibility/downloader stable-25-1/release/ydbd ydbd-last-stable
OUT_NOAUTO ydbd-last-stable
PY23_LIBRARY()


PY_SRCS(
fixtures.py
)

RUN_PROGRAM(
Expand All @@ -11,5 +13,3 @@ RUN_PROGRAM(
)

END()

RECURSE(downloader)
Loading