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

Integration tests: logging is shut down when CLI finished #944

Merged
merged 1 commit into from
Nov 1, 2019

Conversation

rvl
Copy link
Contributor

@rvl rvl commented Oct 31, 2019

Relates to #851.

Overview

Adds integration test case for clean logging shutdown.

, block0H
]
let process = proc' (commandName @t) args
(out, _) <- collectStreams (10, 0) process
Copy link
Member

Choose a reason for hiding this comment

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

Hi @rvl. Are you able to say a little bit about where 10 and 0 came from here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

These are the number of output lines to collect before finishing the test.
The collectStreams function is a bit fishy actually.

@rvl rvl force-pushed the rvl/852/logging-shutdown-test branch from 0d4aad4 to 6021a59 Compare October 31, 2019 11:01
@paweljakubas
Copy link
Contributor

rebased against master

@paweljakubas
Copy link
Contributor

bors r+

iohk-bors bot added a commit that referenced this pull request Oct 31, 2019
944: Integration tests: logging is shut down when CLI finished r=paweljakubas a=rvl

Relates to #851.

# Overview

Adds integration test case for clean logging shutdown.


Co-authored-by: Rodney Lorrimar <[email protected]>
@iohk-bors
Copy link
Contributor

iohk-bors bot commented Oct 31, 2019

Build failed

@paweljakubas
Copy link
Contributor

bors r+

iohk-bors bot added a commit that referenced this pull request Oct 31, 2019
944: Integration tests: logging is shut down when CLI finished r=paweljakubas a=rvl

Relates to #851.

# Overview

Adds integration test case for clean logging shutdown.


Co-authored-by: Rodney Lorrimar <[email protected]>
@iohk-bors
Copy link
Contributor

iohk-bors bot commented Oct 31, 2019

Build failed

@paweljakubas
Copy link
Contributor

interesting : https://hydra.iohk.io/build/1303898/nixlog/31

@rvl
Copy link
Contributor Author

rvl commented Oct 31, 2019

@paweljakubas

interesting : https://hydra.iohk.io/build/1303898/nixlog/31

This is a similar/the same error #931 that occurred on Buildkite and caused the Bors build to fail.

@rvl
Copy link
Contributor Author

rvl commented Nov 1, 2019

Will try again 🤞

bors r+

iohk-bors bot added a commit that referenced this pull request Nov 1, 2019
944: Integration tests: logging is shut down when CLI finished r=rvl a=rvl

Relates to #851.

# Overview

Adds integration test case for clean logging shutdown.


Co-authored-by: Rodney Lorrimar <[email protected]>
@iohk-bors
Copy link
Contributor

iohk-bors bot commented Nov 1, 2019

Build succeeded

@iohk-bors iohk-bors bot merged commit de6b2d8 into master Nov 1, 2019
@rvl rvl deleted the rvl/852/logging-shutdown-test branch November 4, 2019 00:05
@KtorZ KtorZ added this to the Usability & Compatibility milestone Nov 6, 2019
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.

5 participants