Skip to content

Commit

Permalink
[Filestore] rename local-auth load-test to service-kikimr-auth-test f…
Browse files Browse the repository at this point in the history
…or the sake of consistency (#2295)
  • Loading branch information
SvartMetal authored Oct 17, 2024
1 parent 890c7c1 commit a69b969
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
16 changes: 8 additions & 8 deletions cloud/blockstore/tests/loadtest/local/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from contrib.ydb.tests.library.harness.kikimr_runner import get_unique_path_for_current_test, ensure_path_exists


def default_storage_config(tablet_version, cache_folder):
def default_storage_config(tablet_version, backups_folder):
storage = storage_config_with_default_limits()

storage.InactiveClientsTimeout = 10000
Expand All @@ -24,9 +24,9 @@ def default_storage_config(tablet_version, cache_folder):
storage.DumpBlobUpdatesIntoProfileLog = True

storage.TabletBootInfoBackupFilePath = \
cache_folder + "/tablet_boot_info_backup.txt"
backups_folder + "/tablet_boot_info_backup.txt"
storage.PathDescriptionBackupFilePath = \
cache_folder + "/path_description_backup.txt"
backups_folder + "/path_description_backup.txt"

return storage

Expand Down Expand Up @@ -134,21 +134,21 @@ def __run_test(test_case):
server.ServerConfig.StrictContractValidation = True
server.KikimrServiceConfig.CopyFrom(TKikimrServiceConfig())

cache_folder = get_unique_path_for_current_test(
backups_folder = get_unique_path_for_current_test(
output_path=common.output_path(),
sub_folder="cache",
sub_folder="backups",
)
ensure_path_exists(cache_folder)
ensure_path_exists(backups_folder)

env = LocalLoadTest(
"",
server_app_config=server,
tracking_enabled=test_case.tracking_enabled,
storage_config_patches=[
default_storage_config(test_case.tablet_version, cache_folder)
default_storage_config(test_case.tablet_version, backups_folder)
],
use_in_memory_pdisks=True,
bs_cache_file_path=cache_folder + "/bs_cache.txt",
bs_cache_file_path=backups_folder + "/bs_cache.txt",
)

try:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ def __init__(self, name, config_path):
TESTS = [
Case(
"index",
"cloud/filestore/tests/loadtest/local-auth/index.txt",
"cloud/filestore/tests/loadtest/service-kikimr-auth-test/index.txt",
),
Case(
"read-write",
"cloud/filestore/tests/loadtest/local-auth/read-write.txt",
"cloud/filestore/tests/loadtest/service-kikimr-auth-test/read-write.txt",
),
]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ DEPENDS(
DATA(
arcadia/cloud/filestore/tests/certs/server.crt
arcadia/cloud/filestore/tests/certs/server.key
arcadia/cloud/filestore/tests/loadtest/local-auth
arcadia/cloud/filestore/tests/loadtest/service-kikimr-auth-test
)

PEERDIR(
Expand Down
2 changes: 1 addition & 1 deletion cloud/filestore/tests/loadtest/ya.make
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
RECURSE_FOR_TESTS(
local-auth
service-kikimr-auth-test
service-kikimr-nemesis-test
service-kikimr-test
service-kikimr-newfeatures-test
Expand Down

0 comments on commit a69b969

Please sign in to comment.