IVGCVSW-4982 Fix failure in GatordMockTests
authorJan Eilers <jan.eilers@arm.com>
Thu, 25 Jun 2020 11:00:38 +0000 (12:00 +0100)
committerJan Eilers <jan.eilers@arm.com>
Thu, 25 Jun 2020 13:45:33 +0000 (13:45 +0000)
Signed-off-by: Jan Eilers <jan.eilers@arm.com>
Change-Id: Idb073a71d9b7f9ad5430fcb67e40b793635ed892

tests/profiling/gatordmock/tests/GatordMockTests.cpp

index 38c04ed..0ee4601 100644 (file)
@@ -443,7 +443,7 @@ BOOST_AUTO_TEST_CASE(GatorDMockTimeLineActivation)
     // Packets we expect from SendWellKnownLabelsAndEventClassesTest
     BOOST_CHECK(timelineDecoder.GetModel().m_Entities.size() == 1);
     BOOST_CHECK(timelineDecoder.GetModel().m_EventClasses.size()  == 2);
-    BOOST_CHECK(timelineDecoder.GetModel().m_Labels.size()  == 10);
+    BOOST_CHECK(timelineDecoder.GetModel().m_Labels.size()  == 14);
     BOOST_CHECK(timelineDecoder.GetModel().m_Relationships.size()  == 0);
     BOOST_CHECK(timelineDecoder.GetModel().m_Events.size()  == 0);
 
@@ -467,10 +467,10 @@ BOOST_AUTO_TEST_CASE(GatorDMockTimeLineActivation)
     WaitFor([&](){return timelineDecoder.GetModel().m_Labels.size() >= 24;},
             "MockGatord did not receive well known timeline labels");
 
-    // Packets we expect from SendWellKnownLabelsAndEventClassesTest * 2 and the loaded model
+    // Packets we expect from SendWellKnownLabelsAndEventClassesTest * 2 + network above (input, norm, backend, output)
     BOOST_CHECK(timelineDecoder.GetModel().m_Entities.size() == 6);
     BOOST_CHECK(timelineDecoder.GetModel().m_EventClasses.size()  == 4);
-    BOOST_CHECK(timelineDecoder.GetModel().m_Labels.size()  == 24);
+    BOOST_CHECK(timelineDecoder.GetModel().m_Labels.size()  == 32);
     BOOST_CHECK(timelineDecoder.GetModel().m_Relationships.size()  == 17);
     BOOST_CHECK(timelineDecoder.GetModel().m_Events.size()  == 0);