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

Spurious errors from JLine + test error detection #7696

Open
mlutze opened this issue May 7, 2024 · 0 comments
Open

Spurious errors from JLine + test error detection #7696

mlutze opened this issue May 7, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@mlutze
Copy link
Member

mlutze commented May 7, 2024

https://github.com/mlutze/flix-json/actions/runs/8977911029/job/24657467453#step:5:197

JLine emits a message to stderr when no console is found:

     May 07, 2024 12:53:18 AM org.jline.utils.Log logr
    WARNING: Unable to create a system terminal, creating a dumb terminal (enable debug logging for more information)

flix test considers any output to stderr to be an error.

With their powers combined, these create a race condition where a test fails if the message happens to reach the output stream while the test is running.

@mlutze mlutze added the bug Something isn't working label May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant