aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/testing
diff options
context:
space:
mode:
authoriaz1607 <iaz1607@yandex-team.ru>2022-02-10 16:45:37 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:37 +0300
commite5437feb4ac2d2dc044e1090b9312dde5ef197e0 (patch)
treef5a238c69dd20a1fa2092127a31b8aff25020f7d /library/cpp/testing
parentf4945d0a44b8770f0801de3056aa41639b0b7bd2 (diff)
downloadydb-e5437feb4ac2d2dc044e1090b9312dde5ef197e0.tar.gz
Restoring authorship annotation for <iaz1607@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/testing')
-rw-r--r--library/cpp/testing/common/env.cpp28
-rw-r--r--library/cpp/testing/common/env.h2
2 files changed, 15 insertions, 15 deletions
diff --git a/library/cpp/testing/common/env.cpp b/library/cpp/testing/common/env.cpp
index fa3a47fe16..7f90159785 100644
--- a/library/cpp/testing/common/env.cpp
+++ b/library/cpp/testing/common/env.cpp
@@ -81,10 +81,10 @@ const TString& GetRamDrivePath() {
return NPrivate::GetTestEnv().RamDrivePath;
}
-const TString& GetYtHddPath() {
- return NPrivate::GetTestEnv().YtHddPath;
-}
-
+const TString& GetYtHddPath() {
+ return NPrivate::GetTestEnv().YtHddPath;
+}
+
const TString& GetOutputRamDrivePath() {
return NPrivate::GetTestEnv().TestOutputRamDrivePath;
}
@@ -159,7 +159,7 @@ namespace NPrivate {
BuildRoot = "";
WorkPath = "";
RamDrivePath = "";
- YtHddPath = "";
+ YtHddPath = "";
TestOutputRamDrivePath = "";
GdbPath = "";
CoreSearchFile = "";
@@ -197,11 +197,11 @@ namespace NPrivate {
RamDrivePath = value->GetStringSafe("");
}
- value = context.GetValueByPath("runtime.yt_hdd_path");
- if (value) {
- YtHddPath = value->GetStringSafe("");
- }
-
+ value = context.GetValueByPath("runtime.yt_hdd_path");
+ if (value) {
+ YtHddPath = value->GetStringSafe("");
+ }
+
value = context.GetValueByPath("runtime.test_output_ram_drive_path");
if (value) {
TestOutputRamDrivePath = value->GetStringSafe("");
@@ -225,10 +225,10 @@ namespace NPrivate {
}
}
- if (!YtHddPath) {
- YtHddPath = GetEnv("HDD_PATH");
- }
-
+ if (!YtHddPath) {
+ YtHddPath = GetEnv("HDD_PATH");
+ }
+
if (!SourceRoot) {
SourceRoot = GetEnv("ARCADIA_SOURCE_ROOT");
}
diff --git a/library/cpp/testing/common/env.h b/library/cpp/testing/common/env.h
index 7b89aa1bed..7e4d418f77 100644
--- a/library/cpp/testing/common/env.h
+++ b/library/cpp/testing/common/env.h
@@ -71,7 +71,7 @@ namespace NPrivate {
TString BuildRoot;
TString WorkPath;
TString RamDrivePath;
- TString YtHddPath;
+ TString YtHddPath;
TString TestOutputRamDrivePath;
TString GdbPath;
TString CoreSearchFile;