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

Update Mockito for running tests on Mac M1 #7208

Merged
merged 2 commits into from Oct 20, 2021

Conversation

h7kanna
Copy link
Contributor

@h7kanna h7kanna commented Oct 20, 2021

What

Describe what the change is solving
Fix running tests on Mac M1 and further fixes #2017

How

Update Mockito verison

Recommended reading order

build.gradle

Pre-merge Checklist

TODO's

There are a couple of failing tests though

  1. https://github.com/airbytehq/airbyte/blob/master/airbyte-commons/src/test/java/io/airbyte/commons/util/AutoCloseableIteratorsTest.java#L39

  2. https://github.com/airbytehq/airbyte/blob/master/airbyte-workers/src/test/java/io/airbyte/workers/process/DockerProcessFactoryTest.java#L26 (Needs docker platform handling)

Copy link
Contributor

@tuliren tuliren left a comment

Choose a reason for hiding this comment

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

This is great! All the unit tests actually pass on my M1 laptop.

Another thing I will do as a follow up is to update the docs.

@tuliren tuliren merged commit 67b01e7 into airbytehq:master Oct 20, 2021
@h7kanna h7kanna deleted the m1-mockito branch October 21, 2021 00:13
schlattk pushed a commit to schlattk/airbyte that referenced this pull request Jan 4, 2022
* Update Mockito for running tests on Mac M1

* Added comments for JNA library dependency
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support running Airbyte on Mac M1 Docker
4 participants