summaryrefslogtreecommitdiffstats
path: root/yt/cpp/mapreduce/tests
diff options
context:
space:
mode:
Diffstat (limited to 'yt/cpp/mapreduce/tests')
-rw-r--r--yt/cpp/mapreduce/tests/yt_unittest_lib/yt_unittest_lib.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/yt/cpp/mapreduce/tests/yt_unittest_lib/yt_unittest_lib.h b/yt/cpp/mapreduce/tests/yt_unittest_lib/yt_unittest_lib.h
index 46215ed5d0a..58263637652 100644
--- a/yt/cpp/mapreduce/tests/yt_unittest_lib/yt_unittest_lib.h
+++ b/yt/cpp/mapreduce/tests/yt_unittest_lib/yt_unittest_lib.h
@@ -45,6 +45,8 @@ void WriteProtoTable(const IClientBasePtr& client, const TString& tablePath, con
bool UseRpcClient();
+bool UseDefaultHttpClient();
+
////////////////////////////////////////////////////////////////////////////////
// TODO: should be removed, usages should be replaced with TConfigSaverGuard
@@ -218,6 +220,9 @@ void Out<NYT::NTesting::TOwningYaMRRow>(IOutputStream& out, const NYT::NTesting:
#define SKIP_IF_RPC() \
SKIP_TEST_IF(UseRpcClient(), "Unsupported test for RPC Client")
+#define SKIP_IF_DEFAULT_HTTP() \
+ SKIP_TEST_IF(UseDefaultHttpClient(), "Unsupported test for default (sync) HTTP Client")
+
#define YT_UNITTEST_LIB_H_
#include "yt_unittest_lib-inl.h"
#undef YT_UNITTEST_LIB_H_