From 7d11e1d2a4f5c6ce9a9eb02b38810b1e39b746ca Mon Sep 17 00:00:00 2001
From: Sergey Yakubov <sergey.yakubov@desy.de>
Date: Fri, 28 May 2021 14:03:13 +0200
Subject: [PATCH] remove one mem test for libfabric

---
 producer/api/cpp/unittests/test_producer_impl.cpp | 2 +-
 tests/automatic/asapo_fabric/CMakeLists.txt       | 8 +++++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/producer/api/cpp/unittests/test_producer_impl.cpp b/producer/api/cpp/unittests/test_producer_impl.cpp
index 13cafa963..023912b1f 100644
--- a/producer/api/cpp/unittests/test_producer_impl.cpp
+++ b/producer/api/cpp/unittests/test_producer_impl.cpp
@@ -67,7 +67,7 @@ class ProducerImplTests : public testing::Test {
   asapo::ProducerRequestHandlerFactory factory{&service};
   testing::NiceMock<asapo::MockLogger> mock_logger;
   testing::NiceMock<MockRequestPull> mock_pull{&factory, &mock_logger};
-  std::string expected_server_uri = "localhost:9400";
+  std::string expected_server_uri = "127.0.0.1:9400";
   asapo::ProducerImpl producer{expected_server_uri, 1, 3600000, asapo::RequestHandlerType::kTcp};
   uint64_t expected_size = 100;
   uint64_t expected_id = 10;
diff --git a/tests/automatic/asapo_fabric/CMakeLists.txt b/tests/automatic/asapo_fabric/CMakeLists.txt
index c9e75c826..05111bc39 100644
--- a/tests/automatic/asapo_fabric/CMakeLists.txt
+++ b/tests/automatic/asapo_fabric/CMakeLists.txt
@@ -15,5 +15,11 @@ foreach(file ${files})
     set_target_properties(${TARGET_NAME} PROPERTIES LINKER_LANGUAGE CXX)
 
     # Add test
-    add_integration_test(${TARGET_NAME} ${TARGET_NAME} "")
+    if (file_we STREQUAL "timeout_test")
+        add_integration_test(${TARGET_NAME} ${TARGET_NAME} "" nomem)
+    else()
+        add_integration_test(${TARGET_NAME} ${TARGET_NAME} "")
+    endif ()
+
+
 endforeach()
-- 
GitLab