From e246f539821ea128814891c9774873b73f3fe547 Mon Sep 17 00:00:00 2001 From: matiAlfaro Date: Thu, 30 May 2024 17:02:10 +0300 Subject: [PATCH] fix & re-enable test Signed-off-by: matiAlfaro --- .../yang_model_tests/tests/buffer_queue.json | 6 ++++++ .../tests_config/buffer_queue.json | 16 ++++++++++++++++ 2 files changed, 22 insertions(+) diff --git a/src/sonic-yang-models/tests/yang_model_tests/tests/buffer_queue.json b/src/sonic-yang-models/tests/yang_model_tests/tests/buffer_queue.json index 077b94ff353e..32619dcd5fb0 100644 --- a/src/sonic-yang-models/tests/yang_model_tests/tests/buffer_queue.json +++ b/src/sonic-yang-models/tests/yang_model_tests/tests/buffer_queue.json @@ -1,4 +1,7 @@ { + "BUFFER_QUEUE_CORRECT_PROFILE_VALUE": { + "desc": "BUFFER_QUEUE_CORRECT_PROFILE_VALUE no failure" + }, "BUFFER_QUEUE_WRONG_PROFILE_VALUE": { "desc": "BUFFER_QUEUE_WRONG_PROFILE_VALUE pattern failure", "eStr": "wrong" @@ -10,5 +13,8 @@ "BUFFER_QUEUE_WRONG_PORT_VALUE": { "desc": "BUFFER_QUEUE_WRONG_PORT_VALUE pattern failure", "eStr": "wrong" + }, + "VOQ_BUFFER_QUEUE_CONFIG": { + "desc": "VOQ_BUFFER_QUEUE_CONFIG has no failure" } } diff --git a/src/sonic-yang-models/tests/yang_model_tests/tests_config/buffer_queue.json b/src/sonic-yang-models/tests/yang_model_tests/tests_config/buffer_queue.json index 91a39a89e3a5..c23eda0b4ad1 100644 --- a/src/sonic-yang-models/tests/yang_model_tests/tests_config/buffer_queue.json +++ b/src/sonic-yang-models/tests/yang_model_tests/tests_config/buffer_queue.json @@ -209,6 +209,22 @@ } }, "VOQ_BUFFER_QUEUE_CONFIG": { + "sonic-port:sonic-port": { + "sonic-port:PORT": { + "PORT_LIST": [ + { + "admin_status": "up", + "alias": "eth0", + "description": "Ethernet0", + "lanes": "65", + "mtu": "9000", + "name": "Ethernet4", + "tpid": "0x8100", + "speed": "25000" + } + ] + } + }, "sonic-device_metadata:sonic-device_metadata": { "sonic-device_metadata:DEVICE_METADATA": { "sonic-device_metadata:localhost": {