Skip to content

Fix tests not executed in pipeline - #20700

Merged
chenrujun merged 4 commits into
Azure:masterfrom
chenrujun:fix/aad-tests-are-not-executed-in-pipeline
Apr 16, 2021
Merged

Fix tests not executed in pipeline#20700
chenrujun merged 4 commits into
Azure:masterfrom
chenrujun:fix/aad-tests-are-not-executed-in-pipeline

Conversation

@chenrujun

Copy link
Copy Markdown
  1. Fix tests not executed in azure-spring-boot-test-aad
  2. Fix tests not executed in azure-spring-boot-test-aad-b2c

2. Fix tests not executed in azure-spring-boot-test-aad-b2c
@ghost ghost added the azure-spring All azure-spring related issues label Apr 15, 2021
@chenrujun

Copy link
Copy Markdown
Author

/azp run java - spring - tests

@azure-pipelines

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

@chenrujun

Copy link
Copy Markdown
Author

/azp run java - spring - tests

@azure-pipelines

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

@chenrujun chenrujun added azure-spring-aad Spring active directory related issues. azure-spring-aad-b2c Spring active directory b2c related issues. Client This issue points to a problem in the data-plane of the library. labels Apr 15, 2021
@chenrujun chenrujun added this to the [2021] May milestone Apr 15, 2021
@chenrujun

Copy link
Copy Markdown
Author

/azp run java - spring - tests

@azure-pipelines

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

@chenrujun

Copy link
Copy Markdown
Author

/azp run java - spring - tests

@azure-pipelines

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

@saragluna

Copy link
Copy Markdown
Member

Why is junit5 required here?

@chenrujun

chenrujun commented Apr 16, 2021

Copy link
Copy Markdown
Author

@saragluna

After upgrade to spring-boot:2.4.0, the default junit is junit-5.
If we want to use junit-4, we need to add extra dependencies: junit-vintage-engine.
To make things simple and fit newest spring-boot, I prefer junit-5.

Refs: https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.4-Release-Notes#junit-5s-vintage-engine-removed-from-spring-boot-starter-test

@backwind1233 backwind1233 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@chenrujun
chenrujun merged commit 859f357 into Azure:master Apr 16, 2021
@chenrujun
chenrujun deleted the fix/aad-tests-are-not-executed-in-pipeline branch April 16, 2021 05:45
benbp pushed a commit that referenced this pull request Apr 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

azure-spring All azure-spring related issues azure-spring-aad Spring active directory related issues. azure-spring-aad-b2c Spring active directory b2c related issues. Client This issue points to a problem in the data-plane of the library.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants