@@ -23,7 +23,7 @@ import Testing
2323struct TestCLICreateCommand {
2424 @Test func testCreateArgsPassthrough( ) async throws {
2525 try await ContainerFixture . with { f in
26- let image = try f. copyWarmupImage ( ContainerFixture . warmupImages [ 0 ] )
26+ let image = try f. copyWarmupImage ( . alpine320 )
2727 let name = " \( f. testID) -c "
2828 try f. doCreate ( name: name, image: image, args: [ " echo " , " -n " , " hello " , " world " ] )
2929 try f. doRemove ( name)
@@ -32,7 +32,7 @@ struct TestCLICreateCommand {
3232
3333 @Test func testCreateWithMACAddress( ) async throws {
3434 try await ContainerFixture . with { f in
35- let image = try f. copyWarmupImage ( ContainerFixture . warmupImages [ 0 ] )
35+ let image = try f. copyWarmupImage ( . alpine320 )
3636 let name = " \( f. testID) -c "
3737 let expectedMAC = try MACAddress ( " 02:42:ac:11:00:03 " )
3838
@@ -52,7 +52,7 @@ struct TestCLICreateCommand {
5252
5353 @Test func testPublishPortParserMaxPorts( ) async throws {
5454 try await ContainerFixture . with { f in
55- let image = try f. copyWarmupImage ( ContainerFixture . warmupImages [ 0 ] )
55+ let image = try f. copyWarmupImage ( . alpine320 )
5656 let name = " \( f. testID) -c "
5757 var args : [ String ] = [ " create " , " --name " , name]
5858 for i in 0 ..< 64 {
@@ -68,7 +68,7 @@ struct TestCLICreateCommand {
6868
6969 @Test func testPublishPortParserTooManyPorts( ) async throws {
7070 try await ContainerFixture . with { f in
71- let image = try f. copyWarmupImage ( ContainerFixture . warmupImages [ 0 ] )
71+ let image = try f. copyWarmupImage ( . alpine320 )
7272 let name = " \( f. testID) -c "
7373 var args : [ String ] = [ " create " , " --name " , name]
7474 for i in 0 ..< 65 {
@@ -84,7 +84,7 @@ struct TestCLICreateCommand {
8484
8585 @Test func testCreateWithFQDNName( ) async throws {
8686 try await ContainerFixture . with { f in
87- let image = try f. copyWarmupImage ( ContainerFixture . warmupImages [ 0 ] )
87+ let image = try f. copyWarmupImage ( . alpine320 )
8888 // Prefix with testID to avoid name collisions; hostname is the first FQDN component.
8989 let name = " \( f. testID) .example.com "
9090 let expectedHostname = f. testID
0 commit comments