Page MenuHomeFreeBSD

bridge tests: Avoid building a switching loop
ClosedPublic

Authored by kp on May 31 2020, 7:20 PM.
Tags
None
Referenced Files
F170601724: D25084.id72544.diff
Sat, Sep 5, 2:32 PM
F170510397: D25084.diff
Sat, Sep 5, 4:10 AM
Unknown Object (File)
Thu, Sep 3, 7:03 PM
Unknown Object (File)
Thu, Sep 3, 12:18 PM
Unknown Object (File)
Wed, Sep 2, 2:31 AM
Unknown Object (File)
Tue, Sep 1, 2:39 PM
Unknown Object (File)
Tue, Sep 1, 12:42 PM
Unknown Object (File)
Tue, Sep 1, 4:16 AM

Details

Summary

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

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kp requested review of this revision.May 31 2020, 7:20 PM

We no longer require jq

LGTM.

Minor nit: any chance jails a and b can be named bridge_stp_a and bridge_stp_b to avoid potential clashes with other tests?

This revision is now accepted and ready to land.Jun 1 2020, 3:51 PM
This revision was landed with ongoing or failed builds.Jun 1 2020, 7:26 PM
This revision was automatically updated to reflect the committed changes.

Minor nit: any chance jails a and b can be named bridge_stp_a and bridge_stp_b to avoid potential clashes with other tests?

Yeah, but that should be its own commit.