Jumbo in the size mix (MTU 9000 + module jumbo pinned), check-first module config trusting GET reads, cable diag async at startup through the reset path, MODULES table dissolved into SETTINGS/LINKS, per-driver NIC counter sets, comment cleanup
This commit is contained in:
@@ -6,9 +6,6 @@ func freshMod(margins [4]float64) phyModView {
|
||||
return phyModView{fresh: true, link: true, margins: margins}
|
||||
}
|
||||
|
||||
// The worst pair at the worse end is what the margin cell shows, and a fault
|
||||
// paints the length red: the live margins can only make the cable look worse,
|
||||
// never repair a fault.
|
||||
func TestPhyDisplayWorstMarginAndFault(t *testing.T) {
|
||||
cable := cableInfo{
|
||||
ecd: ecdResult{verdicts: [4]int{pairOK, pairOpen, pairOK, pairOK}, metres: [4]int{45, 12, 41, 46}},
|
||||
@@ -26,8 +23,6 @@ func TestPhyDisplayWorstMarginAndFault(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
// A swap at either end marks the cable: the far end resolving MDI-X on its
|
||||
// own is the usual way a crossover shows up.
|
||||
func TestCableSummary(t *testing.T) {
|
||||
healthy := ecdResult{verdicts: [4]int{pairOK, pairOK, pairOK, pairOK}, metres: [4]int{50, 48, 47, 51}}
|
||||
for _, c := range []struct {
|
||||
@@ -63,8 +58,6 @@ func TestPhyDisplayStaleGoesDim(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
// The mean skips faulted pairs, whose length is a distance to the fault
|
||||
// rather than a length of the cable.
|
||||
func TestCableMetresString(t *testing.T) {
|
||||
c := cableInfo{ecd: ecdResult{
|
||||
verdicts: [4]int{pairOK, pairOpen, pairOK, pairOK},
|
||||
|
||||
Reference in New Issue
Block a user