-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Update Repo structure batch 4 #6362
Update Repo structure batch 4 #6362
Conversation
chidozieononiwu
commented
May 21, 2019
- Updated service location repo root/sdk
- Updated package structure.
- Renamed projects to start with Microsoft.Azure.Batch
- Updated to project properties to match new engineering system.
- Updated TargetFramework to use $(RequiredTargetFramework) i.e. net452, netstandard1.4, net461 and netcoreapp2.1 for test projects.
- Updated CertificateBuilder.cs to run for netcore using BountyCastle instead of Mono.Security.
- Updated CertificateUnitTests.cs
- Disabled CerficaCredentials return on IntegrationTestCommon.cs
- Used Async methods to accomodate .netcore2.1
- Added [LiveTest] Attribute for test requiring environment variable.
- Removed tests in IntegrationJobApplicationPackageReferencesTests.cs due to wrong parameters in BatchServiceClient
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.
Took a look, it looks mostly ok, had a few comments.
sdk/batch/Microsoft.Azure.Batch/src/Microsoft.Azure.Batch.csproj
Outdated
Show resolved
Hide resolved
sdk/batch/Microsoft.Azure.Batch/src/Microsoft.Azure.Batch.csproj
Outdated
Show resolved
Hide resolved
sdk/batch/Microsoft.Azure.Batch/tests/IntegrationTestCommon/CertificateBuilder.cs
Show resolved
Hide resolved
...Microsoft.Azure.Batch/tests/IntegrationTests/IntegrationTestUtilities/FileUploadUtilities.cs
Outdated
Show resolved
Hide resolved
....Azure.Batch/tests/IntegrationTests/IntegrationTestUtilities/SynchronizationContextHelper.cs
Outdated
Show resolved
Hide resolved
.../Microsoft.Azure.Batch/tests/IntegrationTests/Microsoft.Azure.Batch.Integration.Tests.csproj
Show resolved
Hide resolved
...Microsoft.Azure.Batch/tests/ProtocolTests/IntegrationJobApplicationPackageReferencesTests.cs
Outdated
Show resolved
Hide resolved
...Microsoft.Azure.Batch/tests/ProtocolTests/IntegrationJobApplicationPackageReferencesTests.cs
Outdated
Show resolved
Hide resolved
@Azure/azure-sdk-eng |
sdk/batch/Microsoft.Azure.Batch/tests/IntegrationTestCommon/IntegrationTestCommon.cs
Show resolved
Hide resolved
sdk/batch/Microsoft.Azure.Batch/Tools/CodeGenerationLibrary/CodeGenerationLibrary.csproj
Outdated
Show resolved
Hide resolved
sdk/batch/Microsoft.Azure.Batch/Tools/CodeGenerationLibrary/CodeGenerationLibrary.csproj
Outdated
Show resolved
Hide resolved
sdk/batch/Microsoft.Azure.Batch/Tools/ConfigureAwaitAnalyzer/ConfigureAwaitAnalyzer.csproj
Outdated
Show resolved
Hide resolved
sdk/batch/Microsoft.Azure.Batch/Tools/ConfigureAwaitAnalyzer/ConfigureAwaitAnalyzer.csproj
Outdated
Show resolved
Hide resolved
.../Microsoft.Azure.Batch/Tools/ConfigureAwaitAnalyzerTests/ConfigureAwaitAnalyzer.Tests.csproj
Outdated
Show resolved
Hide resolved
sdk/batch/Microsoft.Azure.Batch/Tools/CodeGenerationLibrary/CodeGenerationLibrary.csproj
Outdated
Show resolved
Hide resolved
67b9ee7
to
ec45e06
Compare
ec45e06
to
e2add16
Compare
6660c60
to
5a34d14
Compare
/azp run net - client |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run net - client |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run net - batch - ci |
No pipelines are associated with this pull request. |
/azp run net - batch - ci |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run net - batch - ci |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run net - batch - ci |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run net - batch - ci |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run net - batch - ci |
Azure Pipelines successfully started running 1 pipeline(s). |
1e14e09
to
0584ef0
Compare
/azp run net - batch - ci |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run net - batch - ci |
Azure Pipelines successfully started running 1 pipeline(s). |
0584ef0
to
5c5b07e
Compare
/azp run net - batch - ci |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run net - batch - ci |
Azure Pipelines successfully started running 1 pipeline(s). |
Looks like there are some warnings about test results because some of the test projects don't actually contain tests: https://dev.azure.com/azure-sdk/public/_build/results?buildId=38551&view=logs - PublishTestResults step Windows:
The linux and Mac give this warning instead:
However I think they stem from the same issue which is there are not test results for those projects. We should either rename the projects or set IsTestProject=false (similar to https://github.com/Azure/azure-sdk-for-net/blob/master/eng/Directory.Build.Data.targets#L31) in the project to get them not to run tests and report no results. |
8f79112
to
c0ed880
Compare
/azp run net - batch - ci |
Azure Pipelines successfully started running 1 pipeline(s). |
I have fixed the be renaming the common tests projects. I also deleted the protocol test as @matthchr requested. I guess this is ready to merge now. |
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.
Looks good now