aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/profiling/test/ProfilingTests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/profiling/test/ProfilingTests.cpp b/src/profiling/test/ProfilingTests.cpp
index b06d3b0bc6..ff45a454c3 100644
--- a/src/profiling/test/ProfilingTests.cpp
+++ b/src/profiling/test/ProfilingTests.cpp
@@ -2111,7 +2111,7 @@ BOOST_AUTO_TEST_CASE(CheckSocketConnectionException2)
catch (const arm::pipe::SocketConnectionException& ex)
{
BOOST_CHECK(ex.GetSocketFd() == 0);
- BOOST_CHECK(ex.GetErrorNo() == 111);
+ BOOST_CHECK(ex.GetErrorNo() == ECONNREFUSED);
BOOST_CHECK(ex.what()
== std::string("SocketProfilingConnection: Cannot connect to stream socket: Connection refused"));
}