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

Cleanup for test, whitespace #360

Merged
merged 2 commits into from
May 19, 2016
Merged

Cleanup for test, whitespace #360

merged 2 commits into from
May 19, 2016

Conversation

macintux
Copy link
Collaborator

@macintux macintux commented May 19, 2016

  • Undo unnecessary whitespace
  • Make lager_handler_watcher test more resilient by scanning for
    messages of interest rather than assuming we know exactly what
    messages will arrive at the test backend
  • export_all to allow R15 to run the lager_app_tests tests

macintux added 2 commits May 19, 2016 14:55
* Make lager_handler_watcher test more resilient by scanning for
  messages of interest rather than assuming we know exactly what
  messages will arrive at the test backend
@hazen
Copy link
Contributor

hazen commented May 19, 2016

Testing...

@hazen
Copy link
Contributor

hazen commented May 19, 2016

Tests pass on R15B01, R16B02-basho10 and 18.3.3

@@ -194,5 +192,17 @@ reinstall_on_runtime_failure_test_() ->
]
}.

pop_until(String, Fun) ->
Copy link
Contributor

Choose a reason for hiding this comment

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

Out of curiosity, what other funs might you pass in here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Well, I pass lists:flatten for one invocation, but wrap it with further logic (string:substr) for another, or do I misunderstand your question?

That's all I expect for now, although the pattern seems generally useful.

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, that was the question. lists:flatten makes a lot of sense. The others might depend on use case. Thanks.

@hazen
Copy link
Contributor

hazen commented May 19, 2016

👍 124ba14

borshop added a commit that referenced this pull request May 19, 2016
Cleanup for test, whitespace

Reviewed-by: javajolt
@macintux
Copy link
Collaborator Author

@borshop merge

@borshop borshop merged commit 124ba14 into master May 19, 2016
@jadeallenx
Copy link
Member

Nice work 🍬

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.

4 participants