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

Remove kafkamocker from app.src #39

Merged
merged 1 commit into from
May 12, 2016

Conversation

varnerac
Copy link

@varnerac varnerac commented May 9, 2016

There is no reason to start kafkamocker outside of testing. This removes kafkamocker from ekaf.app.src.

There is no reason to start kafkamocker outside of testing. This removes kafkamocker from ekaf.app.src.
@bosky101
Copy link
Collaborator

Hi. You're right. But I'm not familiar with rebar3. Is there a way specifically to say certain apps need to start for test env?

Simply removing the kafkamocker app will break current builds.

@bosky101
Copy link
Collaborator

Actually perhaps the tests alone can explicitly start it. Feel free to make an additional change, that adds application:start(kafkamocker) to ekaf_tests.erl 's pre-test init setup.

@varnerac
Copy link
Author

varnerac commented May 12, 2016

Have you tried this patch? Removing kafkamocker from app.src doesn't break the build. There's no reason for it to be in .app.src. The unit tests start it explicitly, like this: https://github.com/helpshift/ekaf/blob/master/test/ekaf_tests.erl#L77

@varnerac
Copy link
Author

I note that you closed the rebar3 issue. This issue doesn't affect rebar3. This works even if you stay on the deprecated version of rebar.

@bosky101
Copy link
Collaborator

Cool. Just tested it here https://travis-ci.org/bosky101/ekaf/builds/129665003 Wish travis had a better way to run tests against each pull request. Need to get about doing so over a weekend.

Thanks.

@bosky101 bosky101 merged commit 829453c into helpshift:master May 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants