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

Collecting logs behavior changes between version 0.34.0 vs latest #438

Open
sc30 opened this issue Jan 22, 2020 · 2 comments
Open

Collecting logs behavior changes between version 0.34.0 vs latest #438

sc30 opened this issue Jan 22, 2020 · 2 comments

Comments

@sc30
Copy link

sc30 commented Jan 22, 2020

previously, we were using version 0.34.0, for each test we ran, there is a step to verify some information in the logs.

when updating to latest version, Collection will occur when after the tests are finished executing, this makes tests to fail.

Is there any way to get around this?

collecting logs README.md from version 0.34.0:
This will automatically record logs for all containers in real time to the specified directory. Collection will stop when the containers terminate.

collect logs README.md from master:
This will collect logs for all containers. Collection will occur when after the tests are finished executing.

@CRogers
Copy link
Contributor

CRogers commented Jan 22, 2020

This is a behaviour change in 0.36.1. Can you run your code to verify information in the logs in a @After, or @AfterAll, or provide a custom .logCollector(...) which does your validation?

@sc30
Copy link
Author

sc30 commented Jan 22, 2020

Hi, @CRogers thanks for your quick reply. Could you elaborate more on .logCollector approach?

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

No branches or pull requests

2 participants