Skip to content
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

runs cosmos spark unit tests in CI #17703

Conversation

moderakh
Copy link
Contributor

@moderakh moderakh commented Nov 20, 2020

  • Ensures cosmos spark unit tests are running in the CI.
  • This only wires up unit tests for now not integration tests.
  • If a spark unit test fails CIs running unit tests will fail.

TODO:

  • we need to wire up integration tests for spark to run tests against either emulator or prod endpoint.
  • suppress jacoco complain in analyzing java byte code generated from scala

sample report for successful spark scala tests running by the CI (current PR):
Screen Shot 2020-12-01 at 6 14 08 PM

@moderakh moderakh changed the title ensures cosmos spark tests are running in the CI (Don't Review yet, has some issues) ensures cosmos spark tests are running in the CI Nov 20, 2020
@moderakh moderakh changed the title (Don't Review yet, has some issues) ensures cosmos spark tests are running in the CI (Don't Review yet, has some issues) runs cosmos spark unit tests in CI Nov 20, 2020
@moderakh moderakh changed the title (Don't Review yet, has some issues) runs cosmos spark unit tests in CI runs cosmos spark unit tests in CI Dec 1, 2020
Copy link
Member

@FabianMeiswinkel FabianMeiswinkel left a comment

Choose a reason for hiding this comment

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

LGTM - thanks Mo!

@moderakh moderakh merged commit 234cb19 into Azure:feature/cosmos/spark30 Dec 2, 2020
@moderakh moderakh deleted the users/moderakh/cosmos-spark3-run-tests-in-ci branch December 2, 2020 07:47
@moderakh moderakh added the cosmos:spark3 Cosmos DB Spark3 OLTP Connector label Dec 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cosmos:spark3 Cosmos DB Spark3 OLTP Connector Cosmos
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants