Skip to content

Commit

Permalink
tests: add more integration tests for windows/wcow
Browse files Browse the repository at this point in the history
As a follow up of #5027, we will be adding more tests in batches
of 10-15, to bring the coverage at par with Linux where applicable.

Tests completed in `frontend/dockerfile`:
- [x] `testTarExporterBasic`
- [x] `testWorkdirCreatesDir`
- [x] `testCacheReleased`
- [x] `testSymlinkedDockerfile`
- [x] `testMultiArgs`
- [x] `testContextChangeDirToFile`
- [ ] `testDefaultShellAndPath` (skipped, to revisit)
- [ ] `testExportMultiPlatform` (skipped, to revisit multi-platform
  support on Windows)
- [x] `testNoSnapshotLeak`
- [x] `testCopyFollowAllSymlinks`
- [x] `testCopySymlinks`
- [x] `testHTTPDockerfile`
- [x] `testCmdShell`
- [x] `testInvalidJSONCommands` (flaky, due to port detection for
  registry.exe server)
- [x] `testGlobalArg`
- [ ] `testDockerfileDirs`
- [x] `testDockerfileInvalidCommand`
- [x] `testCopyOverrideFiles`
- [x] `testCopyVarSubstitution`
- [ ] `testCopyWildcards` (fails on WS2022)

Signed-off-by: Anthony Nandaa <[email protected]>
  • Loading branch information
profnandaa committed Jul 25, 2024
1 parent 98fea44 commit add1513
Show file tree
Hide file tree
Showing 5 changed files with 314 additions and 113 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-os.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
needs:
- build
env:
TESTFLAGS: "-v --parallel=6 --timeout=60m"
TESTFLAGS: "-v --timeout=60m"
GOTESTSUM_FORMAT: "standard-verbose"
strategy:
fail-fast: false
Expand Down
Loading

0 comments on commit add1513

Please sign in to comment.