From ba84ff970ed92bbf9ade9188bdba5479d5543af8 Mon Sep 17 00:00:00 2001 From: Francis Murtagh Date: Tue, 11 May 2021 09:37:47 +0100 Subject: IVGCVSW-6001 Fix CheckProfilingObjectUids test failing on Ubuntu 21.04 Signed-off-by: Francis Murtagh Change-Id: I68a9397db974c91d29d6c8a8f9b5f7e32950f141 --- src/profiling/test/ProfilingTests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/profiling/test/ProfilingTests.cpp b/src/profiling/test/ProfilingTests.cpp index 6999650fba..a4a25a84ad 100644 --- a/src/profiling/test/ProfilingTests.cpp +++ b/src/profiling/test/ProfilingTests.cpp @@ -815,7 +815,7 @@ BOOST_AUTO_TEST_CASE(CheckProfilingObjectUids) BOOST_CHECK(nextCounterUids[0] > counterUids[0]); std::vector counterUidsMultiCore; - uint16_t thirdUid = 4; + uint16_t thirdUid = nextCounterUids[0]; uint16_t numberOfCores = 13; BOOST_CHECK_NO_THROW(counterUidsMultiCore = GetNextCounterUids(thirdUid, numberOfCores)); BOOST_CHECK(counterUidsMultiCore.size() == numberOfCores); -- cgit v1.2.1