@@ -159,6 +159,7 @@ test('container group status should be stopped when any compose container is sto
159
159
Names : [ 'container1' ] ,
160
160
State : 'RUNNING' ,
161
161
ImageID : 'sha256:dummy-sha256' ,
162
+ engineName : 'podman' ,
162
163
} as unknown as ContainerInfo ;
163
164
const containerInfo2 = {
164
165
Id : 'container2' ,
@@ -167,6 +168,7 @@ test('container group status should be stopped when any compose container is sto
167
168
Names : [ 'container2' ] ,
168
169
State : 'STOPPED' ,
169
170
ImageID : 'sha256:dummy-sha256' ,
171
+ engineName : 'podman' ,
170
172
} as unknown as ContainerInfo ;
171
173
const groups = containerUtils . getContainerGroups ( [
172
174
containerUtils . getContainerInfoUI ( containerInfo ) ,
@@ -177,6 +179,7 @@ test('container group status should be stopped when any compose container is sto
177
179
expect ( group . name ) . toBe ( groupName ) ;
178
180
expect ( group . type ) . toBe ( ContainerGroupInfoTypeUI . COMPOSE ) ;
179
181
expect ( group . status ) . toBe ( 'STOPPED' ) ;
182
+ expect ( group . engineName ) . toBe ( 'podman' ) ;
180
183
} ) ;
181
184
182
185
test ( 'container group status should be running when the pod status is running' , async ( ) => {
@@ -193,6 +196,7 @@ test('container group status should be running when the pod status is running',
193
196
State : 'RUNNING' ,
194
197
pod : pod ,
195
198
ImageID : 'sha256:dummy-sha256' ,
199
+ engineName : 'podman' ,
196
200
} as unknown as ContainerInfo ;
197
201
const containerInfo2 = {
198
202
Id : 'container2' ,
@@ -201,6 +205,7 @@ test('container group status should be running when the pod status is running',
201
205
State : 'RUNNING' ,
202
206
pod : pod ,
203
207
ImageID : 'sha256:dummy-sha256' ,
208
+ engineName : 'podman' ,
204
209
} as unknown as ContainerInfo ;
205
210
const groups = containerUtils . getContainerGroups ( [
206
211
containerUtils . getContainerInfoUI ( containerInfo ) ,
@@ -210,6 +215,7 @@ test('container group status should be running when the pod status is running',
210
215
expect ( group . name ) . toBe ( groupName ) ;
211
216
expect ( group . type ) . toBe ( ContainerGroupInfoTypeUI . POD ) ;
212
217
expect ( group . status ) . toBe ( 'RUNNING' ) ;
218
+ expect ( group . engineName ) . toBe ( 'podman' ) ;
213
219
} ) ;
214
220
215
221
test ( 'container group status should be degraded when the pod status is degraded' , async ( ) => {
0 commit comments