Signed-off-by: Brian Goff <cpuguy83@gmail.com>
(cherry picked from commit cc993a9cbf40c1a94b5bada84f1d759b72df5c4e)
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
| ... | ... |
@@ -102,6 +102,10 @@ func TestExec(t *testing.T) {
|
| 102 | 102 |
) |
| 103 | 103 |
assert.NilError(t, err) |
| 104 | 104 |
|
| 105 |
+ inspect, err := client.ContainerExecInspect(ctx, id.ID) |
|
| 106 |
+ assert.NilError(t, err) |
|
| 107 |
+ assert.Check(t, is.Equal(inspect.ExecID, id.ID)) |
|
| 108 |
+ |
|
| 105 | 109 |
resp, err := client.ContainerExecAttach(ctx, id.ID, |
| 106 | 110 |
types.ExecStartCheck{
|
| 107 | 111 |
Detach: false, |