]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
bridge tests: Avoid building a switching loop
authorKristof Provost <kp@FreeBSD.org>
Mon, 1 Jun 2020 19:26:16 +0000 (19:26 +0000)
committerKristof Provost <kp@FreeBSD.org>
Tue, 2 Mar 2021 13:03:07 +0000 (14:03 +0100)
commitfd5828b62bdb5738143c81edb139365aa4151567
tree4f27182c21134adaa361e5f8ef0c75aecf0ff0ae
parent1b73cd3d0a7c9fa9b19e28a3bd8e79f405309348
bridge tests: Avoid building a switching loop

Enable STP before bringing the bridges up. This avoids a switching loop,
which has a tendency to drown out progress in userspace processes,
especially on single-core systems.

Only check that we have indeed shut down one of the looped interfaces

PR: 246448
Reviewed by: melifaro
Differential Revision: https://reviews.freebsd.org/D25084

(cherry picked from commit e07e002e950aa673266e3d4b30c43e1198af65e0)
tests/sys/net/if_bridge_test.sh