(t *testing.T)
| 545 | } |
| 546 | |
| 547 | func uniqNetName(t *testing.T) string { |
| 548 | t.Helper() |
| 549 | netNSName := "cdr_" |
| 550 | randStr, err := cryptorand.String(3) |
| 551 | require.NoError(t, err, "generate random string for netns name") |
| 552 | netNSName += randStr |
| 553 | return netNSName |
| 554 | } |
| 555 | |
| 556 | type joinBridgeOpts struct { |
| 557 | bridgeNetNS *os.File |
no test coverage detected