-
Notifications
You must be signed in to change notification settings - Fork 455
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
Conversation
* 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
Testing... |
Tests pass on R15B01, R16B02-basho10 and 18.3.3 |
@@ -194,5 +192,17 @@ reinstall_on_runtime_failure_test_() -> | |||
] | |||
}. | |||
|
|||
pop_until(String, Fun) -> |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
👍 124ba14 |
Cleanup for test, whitespace Reviewed-by: javajolt
@borshop merge |
Nice work 🍬 |
messages of interest rather than assuming we know exactly what
messages will arrive at the test backend
export_all
to allow R15 to run thelager_app_tests
tests