From ee1639da8e44bc35a91034378fffdb81508e00ee Mon Sep 17 00:00:00 2001 From: arvbaska1 <123760606+arvbaska1@users.noreply.github.com> Date: Tue, 11 Jun 2024 09:58:56 -0400 Subject: [PATCH] oc_26.1 remove deviation and changes (#3060) --- .../system/ntp/tests/system_ntp_test/metadata.textproto | 8 -------- .../system/ntp/tests/system_ntp_test/system_ntp_test.go | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/feature/system/ntp/tests/system_ntp_test/metadata.textproto b/feature/system/ntp/tests/system_ntp_test/metadata.textproto index dddf1072d80..cf10ef334d1 100644 --- a/feature/system/ntp/tests/system_ntp_test/metadata.textproto +++ b/feature/system/ntp/tests/system_ntp_test/metadata.textproto @@ -5,14 +5,6 @@ uuid: "9e5ec4a5-0adb-48aa-b6c2-c0d604d15934" plan_id: "OC-26.1" description: "Network Time Protocol (NTP)" testbed: TESTBED_DUT -platform_exceptions: { - platform: { - vendor: CISCO - } - deviations: { - ntp_non_default_vrf_unsupported: true - } -} platform_exceptions: { platform: { vendor: JUNIPER diff --git a/feature/system/ntp/tests/system_ntp_test/system_ntp_test.go b/feature/system/ntp/tests/system_ntp_test/system_ntp_test.go index 4acc14ae9a9..b72e3344d12 100644 --- a/feature/system/ntp/tests/system_ntp_test/system_ntp_test.go +++ b/feature/system/ntp/tests/system_ntp_test/system_ntp_test.go @@ -99,7 +99,7 @@ func TestNtpServerConfigurability(t *testing.T) { if ntpServer == nil { t.Errorf("Missing NTP server from NTP state: %s", address) } - if got, want := testCase.vrf, ntpServer.GetNetworkInstance(); want != "" && got != want { + if got, want := ntpServer.GetNetworkInstance(), testCase.vrf; want != "" && got != want { t.Errorf("Incorrect NTP Server network instance for address %s: got %s, want %s", address, got, want) } }