-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tests: client: enable a batch of integration tests for wcow (pt.1) #5554
Conversation
c14b23b
to
95e9807
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 1 out of 1 changed files in this pull request and generated no suggestions.
Follow up on the moby#5554 PR series. Enabling a number of previously skipped tests for Windows platform. - [x] `testInvalidExporter` Count: 1 Signed-off-by: Anthony Nandaa <[email protected]>
Looks like the CI failure is unrelated / flaky? |
Follow up on the moby#5554 PR series. Enabling a number of previously skipped tests for Windows platform. - [x] `testInvalidExporter` - [x] `testParallelLocalBuilds` - [x] `testCallInfo` - [x] `testFrontendVerifyPlatforms` Count: 4 Signed-off-by: Anthony Nandaa <[email protected]>
Follow up on the moby#5554 PR series. Enabling a number of previously skipped tests for Windows platform. - [x] `testInvalidExporter` - [x] `testParallelLocalBuilds` - [x] `testCallInfo` - [x] `testFrontendVerifyPlatforms` - [x] `testClientCustomGRPCOpts` - [x] `testRunValidExitCodes` Count: 5 > NOTE: this is a top-to-bottom runthrough of all the tests > in `client/client_test.go` that were straight-forward. > The rest will require code changes, especially most needing > `llb.AddMount` support on Windows. These will be addressed > in separate follow-up PRs. Signed-off-by: Anthony Nandaa <[email protected]>
Follow up on the moby#5554 PR series. Enabling a number of previously skipped tests for Windows platform. - [x] `testInvalidExporter` - [x] `testParallelLocalBuilds` - [x] `testCallInfo` - [x] `testFrontendVerifyPlatforms` - [x] `testClientCustomGRPCOpts` - [x] `testRunValidExitCodes` Count: 5 > NOTE: this is a top-to-bottom runthrough of all the tests > in `client/client_test.go` that were straight-forward. > The rest will require code changes, especially most needing > `llb.AddMount` support on Windows. These will be addressed > in separate follow-up PRs. Signed-off-by: Anthony Nandaa <[email protected]>
@@ -629,12 +644,13 @@ func testHostnameSpecifying(t *testing.T, sb integration.Sandbox) { | |||
|
|||
// moby/buildkit#614 | |||
func testStdinClosed(t *testing.T, sb integration.Sandbox) { | |||
integration.SkipOnPlatform(t, "windows") | |||
c, err := New(sb.Context(), sb.Address()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
notice extra space after function's curl brace, check the rest of the functions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
A number of tests have been skipped on Windows. Enable the following tests in `client/`, with minor modifications to run/unskip on Windows: - [x] `testStdinClosed` - [x] `testHostnameLookup` - [x] `testHostnameSpecifying` - [x] `testFileOpCopyAlwaysReplaceExistingDestPaths` - [x] `testFileOpInputSwap` - [x] `testLocalSourceDiffer` - [x] `testLocalSourceWithDiffer` - [x] `testBuildHTTPSource` - [x] `testBuildHTTPSourceEtagScope` - [x] `testNoTarOCIIndexMediaType` - [x] `testOCIIndexMediatype` - [x] `testFrontendMetadataReturn` - [x] `testFrontendUseSolveResults` - [x] `testExporterTargetExists` - [x] `testLazyImagePush` - [x] `testRegistryEmptyCacheExport` - [x] `testExportLocalNoPlatformSplit` - [x] `testExportLocalNoPlatformSplitOverwrite` - [x] `testSchema1Image` - [x] `testSourceMapFromRef` count: +20 Addressing moby#4485 Signed-off-by: Anthony Nandaa <[email protected]>
95e9807
to
aab2e30
Compare
A number of tests have been skipped on Windows.
Enable the following tests in
client/
, with minor modifications to run/unskip on Windows:testStdinClosed
testHostnameLookup
testHostnameSpecifying
testFileOpCopyAlwaysReplaceExistingDestPaths
testFileOpInputSwap
testLocalSourceDiffer
testLocalSourceWithDiffer
testBuildHTTPSource
testBuildHTTPSourceEtagScope
testNoTarOCIIndexMediaType
testOCIIndexMediatype
testFrontendMetadataReturn
testFrontendUseSolveResults
testExporterTargetExists
testLazyImagePush
testRegistryEmptyCacheExport
testExportLocalNoPlatformSplit
testExportLocalNoPlatformSplitOverwrite
testSchema1Image
testSourceMapFromRef
count: +20
Addressing #4485