Skip to content

Cherry pick 34898 to sb3 branch#34955

Merged
saragluna merged 3 commits into
Azure:feature/spring-boot-3from
saragluna:xiada/cherrypick-cosmos-test
May 16, 2023
Merged

Cherry pick 34898 to sb3 branch#34955
saragluna merged 3 commits into
Azure:feature/spring-boot-3from
saragluna:xiada/cherrypick-cosmos-test

Conversation

@saragluna

Copy link
Copy Markdown
Member

As title, to cherry pick #34898 to spring boot 3 branch.

Azure#34898)

* Moved azure-spring-data-cosmos-test to azure-spring-data-cosmos module

* Deleted azure-spring-data-cosmos-test module

* Fixed build issues with spring-data-cosmos-test module

* Opened azure.cosmos.implementation package to com.azure.spring.data.cosmos for testing

* Updated AdditionalModules with azure-spring-data-cosmos module

* Relying on current version of azure-cosmos

* Reverting the current version change

* Disabled tests with implementation packages accessor

* Suppressing test checks

* Added suppressions for spring data cosmos test files

* updated pom.xml with experiments

* testing junit

* Fixed unit tests

* Fixed application properties account host and key

* Removed protocol and other unnecessary command line args

* Passing env variables

* Adding additional args back

* Fixing java 17 tests

* Fixed some tests with refelction issues

* Fixed more tests

* Fixed more tests

* Fixed more tests
@github-actions github-actions Bot added azure-spring All azure-spring related issues Cosmos labels May 16, 2023
Comment thread .github/CODEOWNERS Outdated
/sdk/spring/spring-cloud-azure-starter-appconfiguration-config/ @mrm9084 @backwind1233 @chenrujun @hui1110 @netyyyy @saragluna @stliu @yiliuTo @moarychan @fangjian0423

# PRLabel: %azure-spring
/sdk/spring/azure-spring-data-cosmos/ @kushagraThapar @FabianMeiswinkel @backwind1233 @chenrujun @hui1110 @netyyyy @saragluna @stliu @yiliuTo @xinlian12 @moarychan @aayush3011 @simorenoh @fangjian0423 @jeet1995 @Pilchie No newline at end of file

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.

Add a new line

Comment on lines +184 to +195
<dependency>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
<version>5.9.1</version> <!-- {x-version-update;org.junit.vintage:junit-vintage-engine;external_dependency} -->
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-core</artifactId>
</exclusion>
</exclusions>
</dependency>

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

better use jupiter here instead of vintage engine.

@saragluna saragluna marked this pull request as ready for review May 16, 2023 02:31
@saragluna saragluna merged commit 8f650ba into Azure:feature/spring-boot-3 May 16, 2023
@saragluna saragluna deleted the xiada/cherrypick-cosmos-test branch May 16, 2023 02:35
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 Cosmos

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants