]> 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>
Mon, 1 Jun 2020 19:26:16 +0000 (19:26 +0000)
commite07e002e950aa673266e3d4b30c43e1198af65e0
tree2a13ec1273ebbe3170c199391c8de9bb9709c5d3
parent82c3a6548f7a4b40a68c27faa55751af56e42b38
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
tests/sys/net/if_bridge_test.sh