Tests whether nerdctl properly creates the default network when required. On Linux, the default driver used will be "bridge". (netutil.DefaultNetworkName)
(t *testing.T)
| 25 | // Tests whether nerdctl properly creates the default network when required. |
| 26 | // On Linux, the default driver used will be "bridge". (netutil.DefaultNetworkName) |
| 27 | func TestDefaultNetworkCreation(t *testing.T) { |
| 28 | if rootlessutil.IsRootless() { |
| 29 | t.Skip("must be superuser to create default network for this test") |
| 30 | } |
| 31 | |
| 32 | testDefaultNetworkCreation(t) |
| 33 | testDefaultNetworkCreationWithBridgeIP(t) |
| 34 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…