Skip to content

Commit

Permalink
test fdb mac move (sonic-net#12459)
Browse files Browse the repository at this point in the history
* MIGSOFTWAR-8454 Unmatched CRM facts

Signed-off-by: Anshul Dubela <[email protected]>

* MIGSOFTWAR-8454 Unmatched CRM facts

Signed-off-by: Anshul Dubela <[email protected]>

* Update test_standby_tor_upstream_mux_toggle.py

"tests/dualtor/test_standby_tor_upstream_mux_toggle.py:89:121: E501 line too long (123 > 120 characters)"

* Update test_standby_tor_upstream_mux_toggle.py

"tests/dualtor/test_standby_tor_upstream_mux_toggle.py:89:121: E501 line too long (123 > 120 characters)"

* Update test_standby_tor_upstream_mux_toggle.py

    # For Cisco-8000 devices, hardware counters are statistical-based with +/- 1 entry tolerance.
    # Hence, the available counters may not increase as per initial value for multiple facts collected.

* Update utilities.py

        # For Cisco-8000 devices, hardware counters are statistical-based with +/- 1 entry tolerance.
        # Hence, the available counter may not increase as per initial value.

* Update utilities.py

Removed the extra line.

* Update test_standby_tor_upstream_mux_toggle.py

Fix below pre-commit error:
tests/dualtor/test_standby_tor_upstream_mux_toggle.py:95:39: E225 missing whitespace around operator

* Update utilities.py

Fixed Below pre-commit issue:
trim trailing whitespace.................................................Failed
- hook id: trailing-whitespace
- exit code: 1
- files were modified by this hook

Fixing tests/common/utilities.py

* Unmatched CRM facts Rev

Signed-off-by: Anshul Dubela <[email protected]>

* test_fdb_mac_move

Signed-off-by: Anshul Dubela <[email protected]>

---------

Signed-off-by: Anshul Dubela <[email protected]>
  • Loading branch information
anshuldubela authored Nov 27, 2024
1 parent a9fdf55 commit 620b5ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/fdb/test_fdb_mac_move.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ def test_fdb_mac_move(ptfadapter, duthosts, rand_one_dut_hostname, ptfhost, get_
"FDB Table Add failed")
# Flush dataplane
ptfadapter.dataplane.flush()
time.sleep(10)
fdb_cleanup(duthosts, rand_one_dut_hostname)
# Wait for 10 seconds before starting next loop
time.sleep(10)

0 comments on commit 620b5ce

Please sign in to comment.