The test was always skipped on Windows, regardless if buildkit is used
or not.
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
| ... | ... |
@@ -6230,7 +6230,9 @@ func (s *DockerCLIBuildSuite) TestBuildEmitsEvents(t *testing.T) {
|
| 6230 | 6230 |
}, |
| 6231 | 6231 |
} {
|
| 6232 | 6232 |
t.Run(fmt.Sprintf("buildkit=%v/%s", builder.buildkit, tc.name), func(t *testing.T) {
|
| 6233 |
- skip.If(t, DaemonIsWindows, "Buildkit is not supported on Windows") |
|
| 6233 |
+ if builder.buildkit {
|
|
| 6234 |
+ skip.If(t, DaemonIsWindows, "Buildkit is not supported on Windows") |
|
| 6235 |
+ } |
|
| 6234 | 6236 |
|
| 6235 | 6237 |
time.Sleep(time.Second) |
| 6236 | 6238 |
before := time.Now() |