From ad8c04b0fe80085d01fe3bd135a795184caff083 Mon Sep 17 00:00:00 2001 From: roman_savchuk Date: Mon, 24 Apr 2023 04:39:28 +0300 Subject: [PATCH] [reboot] Remove INIT_VIEW from event check (#7995) What is the motivation for this PR? Reboot TC failed with error "Event INIT_VIEW was found 0 times, when expected exactly 1 times" How did you do it? Remove INIT_VIEW check How did you verify/test it? Run fast/warm reboot. TC passed Any platform specific information? SONiC Software Version: SONiC.202211_RC9.2-243f8ce9b --- tests/common/fixtures/advanced_reboot.py | 1 - tests/platform_tests/reboot_timing_constants.py | 1 - 2 files changed, 2 deletions(-) diff --git a/tests/common/fixtures/advanced_reboot.py b/tests/common/fixtures/advanced_reboot.py index f17ad933127..6808349babb 100644 --- a/tests/common/fixtures/advanced_reboot.py +++ b/tests/common/fixtures/advanced_reboot.py @@ -583,7 +583,6 @@ def __setupRebootOper(self, rebootOper): event_counters = { "SAI_CREATE_SWITCH": 1, - "INIT_VIEW": 1, "APPLY_VIEW": 1, "LAG_READY": len(self.mgFacts["minigraph_portchannels"]), "PORT_READY": len(self.mgFacts["minigraph_ports"]) - down_ports, diff --git a/tests/platform_tests/reboot_timing_constants.py b/tests/platform_tests/reboot_timing_constants.py index b030f5cf6c0..9e6b78304fa 100644 --- a/tests/platform_tests/reboot_timing_constants.py +++ b/tests/platform_tests/reboot_timing_constants.py @@ -1,7 +1,6 @@ REQUIRED_PATTERNS = { "time_span": [ "SAI_CREATE_SWITCH", - "INIT_VIEW", "APPLY_VIEW" ], "offset_from_kexec": [