mirror of
https://github.com/apple/container.git
synced 2026-09-28 01:46:25 -04:00
Update to containerization 0.20.0. (#1027)
- Use MACAddress for Attachment and CZ interfaces. - Move data validation closer to API surface.
This commit is contained in:
@@ -43,7 +43,10 @@ class TestCLICreateCommand: CLITest {
|
||||
try waitForContainerRunning(name)
|
||||
let inspectResp = try inspectContainer(name)
|
||||
#expect(inspectResp.networks.count > 0, "expected at least one network attachment")
|
||||
#expect(inspectResp.networks[0].macAddress == expectedMAC, "expected MAC address \(expectedMAC), got \(inspectResp.networks[0].macAddress ?? "nil")")
|
||||
#expect(
|
||||
inspectResp.networks[0].macAddress?.description == expectedMAC,
|
||||
"expected MAC address \(expectedMAC), got \(inspectResp.networks[0].macAddress?.description ?? "nil")"
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user