Skip to content

[Core-HttpClient-Matrix] Enable JDK and Vertx httpclient in pipeline.#34649

Merged
mssfang merged 4 commits into
Azure:mainfrom
mssfang:Core-Matrix-enable
May 5, 2023
Merged

[Core-HttpClient-Matrix] Enable JDK and Vertx httpclient in pipeline.#34649
mssfang merged 4 commits into
Azure:mainfrom
mssfang:Core-Matrix-enable

Conversation

@mssfang

@mssfang mssfang commented Apr 25, 2023

Copy link
Copy Markdown
Contributor

Description

Enabling the JDK httpclient and Vertx httpclient in pipeline matrix

@mssfang mssfang added the Azure.Core azure-core label Apr 25, 2023
@mssfang mssfang self-assigned this Apr 25, 2023
@mssfang mssfang requested a review from alzimmermsft April 25, 2023 18:35
@mssfang mssfang marked this pull request as ready for review April 25, 2023 18:43
@alzimmermsft

Copy link
Copy Markdown
Member

/azp run java - storage - tests

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@alzimmermsft

Copy link
Copy Markdown
Member

/azp run java - appconfiguration - tests

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@alzimmermsft

Copy link
Copy Markdown
Member

You'll need to update azure-core-test to support the new AZURE_TEST_HTTP_CLIENTS values, as well as Azure Storage too

Comment thread eng/pipelines/templates/stages/platform-matrix.json Outdated
Comment on lines +58 to +89
{
"Agent": {
"ubuntu-20.04": { "OSVmImage": "MMSUbuntu20.04", "Pool": "azsdk-pool-mms-ubuntu-2004-general" }
},
"JavaTestVersion": "1.17",
"AZURE_TEST_HTTP_CLIENTS": "jdk-httpclient",
"TestFromSource": true,
"RunAggregateReports": false,
"TestGoals": "verify",
"TestOptions": "-DskipCompile=true -DskipTestCompile=true -DcreateSourcesJar=false"
},
{
"Agent": {
"windows-2022": { "OSVmImage": "windows-2022", "Pool": "azsdk-pool-mms-win-2022-general" }
},
"JavaTestVersion": "1.17",
"AZURE_TEST_HTTP_CLIENTS": "jdk-httpclient",
"TestFromSource": false,
"RunAggregateReports": true,
"TestGoals": "verify",
"TestOptions": "-DskipCompile=true -DskipTestCompile=true -DcreateSourcesJar=false"
},
{
"Agent": {
"ubuntu-20.04": { "OSVmImage": "MMSUbuntu20.04", "Pool": "azsdk-pool-mms-ubuntu-2004-general" }
},
"JavaTestVersion": "1.17",
"AZURE_TEST_HTTP_CLIENTS": "jdk-httpclient",
"TestFromSource": false,
"RunAggregateReports": false,
"TestGoals": "surefire:test",
"TestOptions": ""

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need three of these runs? Could this be cut down to two additional runs of Linux and Windows? Right now, this change is adding 4 additional runs to live testing which is a lot more testing.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah. If it is time-consuming we can think to have testing Linux only if applies.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's also a cost/pipeline agent resourcing factor besides time.

Comment thread eng/pipelines/templates/stages/platform-matrix.json Outdated
@mssfang mssfang requested a review from alzimmermsft May 5, 2023 18:28
@mssfang mssfang merged commit 8ac808d into Azure:main May 5, 2023
@mssfang mssfang deleted the Core-Matrix-enable branch May 5, 2023 19:06
@alzimmermsft

Copy link
Copy Markdown
Member

/azp run java - appconfiguration - tests

@alzimmermsft

alzimmermsft commented May 8, 2023

Copy link
Copy Markdown
Member

This PR will need to be reverted as this is causing live tests to fail that are configured to run with the AZURE_TEST_HTTP_CLIENTS passed from the matrix as the jdk-httpclient and vertx options haven't been configured in azure-core-test.

https://dev.azure.com/azure-sdk/internal/_build/results?buildId=2758798&view=results

mssfang added a commit to mssfang/azure-sdk-for-java that referenced this pull request May 8, 2023
mssfang added a commit that referenced this pull request May 8, 2023
jairmyree pushed a commit to jairmyree/azure-sdk-for-java that referenced this pull request May 15, 2023
jairmyree pushed a commit to jairmyree/azure-sdk-for-java that referenced this pull request May 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Azure.Core azure-core

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants