Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion ansible/roles/test/files/ptftests/fib_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ def check_balancing(self, dest_port_list, port_hit_cnt):
% ("LAG", str(member), total_entry_hit_cnt/len(ecmp_entry), port_hit_cnt.get(member, 0), str(round(p, 4)*100) + '%'))
result &= r

assert result
assert result, "dest port list {}, port hit count {}".format(dest_port_list, port_hit_cnt)

#---------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion ansible/roles/test/tasks/simple-fib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

- debug : msg="Start FIB Test"

- set_fact: mtu=9114
- set_fact: mtu=1500
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a configurable parameter. Can we have this default to 9100 and in your test modify to 1500?. Prefer to keep the default as 9100.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure. It's a better option. Then I will close this PR.

when: mtu is not defined

- name: "Start PTF runner"
Expand Down