Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Tunnel PFC][Fix bug] Fix bug and Tests for adding property 'sai_remap_prio_on_tnl_egress' #11027

Merged
merged 5 commits into from
Jun 10, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
reformat code
richardyu-ms committed Jun 10, 2022
commit 51ad27cac6efece33e8274522eac915b6e7ea580
6 changes: 3 additions & 3 deletions src/sonic-config-engine/tests/test_j2files.py
Original file line number Diff line number Diff line change
@@ -343,7 +343,7 @@ def test_config_brcm_render_template(self):
if utils.PYvX_DIR != 'py3':
#Skip on python2 as the change will not be backported to previous version
return

config_bcm_sample_outputs = [
'arista7050cx3-dualtor.config.bcm',
'arista7260-dualtor.config.bcm',
@@ -364,10 +364,10 @@ def test_config_brcm_render_template(self):

argument = '-m ' + sample_minigraph_file + ' -p ' + port_config_ini_file + ' -t ' + config_bcm_file + ' > ' + config_test_output
self.run_script(argument)

#check output config.bcm
config_sample_output_file = os.path.join(self.test_dir, 'sample_output', utils.PYvX_DIR, config_sample_output)
assert utils.cmp(config_sample_output_file, config_test_output)
assert utils.cmp(config_sample_output_file, config_test_output)
os.remove(config_test_output)

def _test_buffers_render_template(self, vendor, platform, sku, minigraph, buffer_template, expected):