@@ -84,13 +84,13 @@ func (s *TestSuite) TestGetContainerLogs(c *C) {
84
84
}
85
85
86
86
func (s * TestSuite ) TestPostAttach (c * C ) {
87
- err := s .client .PullImage ("busybox" , "latest" , nil )
87
+ err := s .client .PullImage ("hyperhq/ busybox" , "latest" , nil )
88
88
c .Assert (err , IsNil )
89
89
90
90
spec := types.UserPod {
91
91
Containers : []* types.UserContainer {
92
92
{
93
- Image : "busybox" ,
93
+ Image : "hyperhq/ busybox" ,
94
94
},
95
95
},
96
96
}
@@ -132,7 +132,7 @@ func (s *TestSuite) TestCreateAndStartPod(c *C) {
132
132
Id : "busybox" ,
133
133
Containers : []* types.UserContainer {
134
134
{
135
- Image : "busybox" ,
135
+ Image : "hyperhq/ busybox" ,
136
136
},
137
137
},
138
138
}
@@ -168,7 +168,7 @@ func (s *TestSuite) TestCreateAndStartPod(c *C) {
168
168
}
169
169
170
170
func (s * TestSuite ) TestCreateContainer (c * C ) {
171
- err := s .client .PullImage ("busybox" , "latest" , nil )
171
+ err := s .client .PullImage ("hyperhq/ busybox" , "latest" , nil )
172
172
c .Assert (err , IsNil )
173
173
174
174
spec := types.UserPod {}
@@ -177,7 +177,7 @@ func (s *TestSuite) TestCreateContainer(c *C) {
177
177
c .Logf ("Pod created: %s" , pod )
178
178
179
179
container , err := s .client .CreateContainer (pod , & types.UserContainer {
180
- Image : "busybox" ,
180
+ Image : "hyperhq/ busybox" ,
181
181
})
182
182
c .Assert (err , IsNil )
183
183
c .Logf ("Container created: %s" , container )
@@ -191,7 +191,7 @@ func (s *TestSuite) TestCreateContainer(c *C) {
191
191
}
192
192
193
193
func (s * TestSuite ) TestRenameContainer (c * C ) {
194
- err := s .client .PullImage ("busybox" , "latest" , nil )
194
+ err := s .client .PullImage ("hyperhq/ busybox" , "latest" , nil )
195
195
c .Assert (err , IsNil )
196
196
197
197
spec := types.UserPod {}
@@ -200,7 +200,7 @@ func (s *TestSuite) TestRenameContainer(c *C) {
200
200
c .Logf ("Pod created: %s" , pod )
201
201
202
202
container , err := s .client .CreateContainer (pod , & types.UserContainer {
203
- Image : "busybox" ,
203
+ Image : "hyperhq/ busybox" ,
204
204
})
205
205
c .Assert (err , IsNil )
206
206
c .Logf ("Container created: %s" , container )
@@ -259,11 +259,11 @@ func (s *TestSuite) TestAddListDeleteService(c *C) {
259
259
spec := types.UserPod {
260
260
Containers : []* types.UserContainer {
261
261
{
262
- Image : "busybox" ,
262
+ Image : "hyperhq/ busybox" ,
263
263
Command : []string {"sleep" , "10000" },
264
264
},
265
265
{
266
- Image : "busybox" ,
266
+ Image : "hyperhq/ busybox" ,
267
267
Command : []string {"sleep" , "10000" },
268
268
},
269
269
},
@@ -358,7 +358,7 @@ func (s *TestSuite) TestStartAndStopPod(c *C) {
358
358
Id : "busybox" ,
359
359
Containers : []* types.UserContainer {
360
360
{
361
- Image : "busybox" ,
361
+ Image : "hyperhq/ busybox" ,
362
362
},
363
363
},
364
364
}
@@ -391,7 +391,7 @@ func (s *TestSuite) TestSetPodLabels(c *C) {
391
391
Id : "busybox" ,
392
392
Containers : []* types.UserContainer {
393
393
{
394
- Image : "busybox" ,
394
+ Image : "hyperhq/ busybox" ,
395
395
},
396
396
},
397
397
}
@@ -419,7 +419,7 @@ func (s *TestSuite) TestPauseAndUnpausePod(c *C) {
419
419
Id : "busybox" ,
420
420
Containers : []* types.UserContainer {
421
421
{
422
- Image : "busybox" ,
422
+ Image : "hyperhq/ busybox" ,
423
423
},
424
424
},
425
425
}
@@ -466,7 +466,7 @@ func (s *TestSuite) TestGetPodStats(c *C) {
466
466
Id : "busybox" ,
467
467
Containers : []* types.UserContainer {
468
468
{
469
- Image : "busybox" ,
469
+ Image : "hyperhq/ busybox" ,
470
470
},
471
471
},
472
472
}
@@ -509,7 +509,7 @@ func (s *TestSuite) TestSendContainerSignal(c *C) {
509
509
c .Assert (err , IsNil )
510
510
}()
511
511
512
- container , err := s .client .CreateContainer (pod , & types.UserContainer {Image : "busybox" })
512
+ container , err := s .client .CreateContainer (pod , & types.UserContainer {Image : "hyperhq/ busybox" })
513
513
c .Assert (err , IsNil )
514
514
c .Logf ("Container created: %s" , container )
515
515
@@ -540,7 +540,7 @@ func (s *TestSuite) TestSendExecSignal(c *C) {
540
540
Containers : []* types.UserContainer {
541
541
{
542
542
Name : cName ,
543
- Image : "busybox" ,
543
+ Image : "hyperhq/ busybox" ,
544
544
},
545
545
},
546
546
}
@@ -600,7 +600,7 @@ func (s *TestSuite) TestTTYResize(c *C) {
600
600
Containers : []* types.UserContainer {
601
601
{
602
602
Name : cName ,
603
- Image : "busybox" ,
603
+ Image : "hyperhq/ busybox" ,
604
604
Tty : true ,
605
605
},
606
606
},
0 commit comments