From c3da016b73e0a60b244e05ce0224bd3618f96e6f Mon Sep 17 00:00:00 2001 From: Anatoly Kalin Date: Tue, 29 Aug 2023 20:13:05 +0300 Subject: [PATCH] [EN-7409] Implement WriteTapeFile sample --- tests/api/DXPublisherTest.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/api/DXPublisherTest.cpp b/tests/api/DXPublisherTest.cpp index e3c56afd..0679f66e 100644 --- a/tests/api/DXPublisherTest.cpp +++ b/tests/api/DXPublisherTest.cpp @@ -14,6 +14,9 @@ using namespace dxfcpp; using namespace dxfcpp::literals; using namespace std::literals; +//Segfaults appear sporadically on Linux and MacOS. +#ifdef _WIN32 + TEST_CASE("DXPublisher::publishEvents") { System::setProperty("dxendpoint.eventTime", "true"); System::setProperty("dxscheme.nanoTime", "true"); @@ -68,4 +71,6 @@ TEST_CASE("DXPublisher::publishEvents") { REQUIRE_EQ(result.size(), 1); REQUIRE_EQ(quote->toString(), result.back()->toString()); -} \ No newline at end of file +} + +#endif \ No newline at end of file