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 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<uint16_t> 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);