aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorFinn Williams <Finn.Williams@arm.com>2020-08-07 11:43:24 +0100
committerFinn Williams <Finn.Williams@arm.com>2020-08-07 11:43:24 +0100
commit895e11891a82a40d6fa04dc6941d374562a882a2 (patch)
tree94953e9bb090ec6d7475cee70a374261c8ff7e8c /tests
parent8bb7f9a2088337b71e8ddc5afd4d049d36f1d3b3 (diff)
downloadarmnn-895e11891a82a40d6fa04dc6941d374562a882a2.tar.gz
IVGCVSW-5170 Do not resend timeline data if TimelineReporting is already enabled
Signed-off-by: Finn Williams <Finn.Williams@arm.com> Change-Id: I79f19dd1c1b66d199008c0010c33b5a55e0e89f2
Diffstat (limited to 'tests')
-rw-r--r--tests/profiling/gatordmock/tests/GatordMockTests.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/profiling/gatordmock/tests/GatordMockTests.cpp b/tests/profiling/gatordmock/tests/GatordMockTests.cpp
index 941e284928..303a36a71a 100644
--- a/tests/profiling/gatordmock/tests/GatordMockTests.cpp
+++ b/tests/profiling/gatordmock/tests/GatordMockTests.cpp
@@ -477,6 +477,10 @@ BOOST_AUTO_TEST_CASE(GatorDMockTimeLineActivation)
WaitFor([&](){return mockBackEndProfilingContext->TimelineReportingEnabled();},
"Timeline packets were not activated");
+ // Once TimelineReporting is Enabled additional activateTimelinePackets should be ignored
+ mockService.SendActivateTimelinePacket();
+ mockService.SendActivateTimelinePacket();
+
// Once timeline packets have been reactivated the ActivateTimelineReportingCommandHandler will resend the
// SendWellKnownLabelsAndEventClasses and then send the structure of any loaded networks
WaitFor([&](){return timelineDecoder.GetModel().m_Labels.size() >= 24;},