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

Testsuite failure on hosts that don't have a network connection #224

Open
baldurmen opened this issue Feb 28, 2021 · 0 comments
Open

Testsuite failure on hosts that don't have a network connection #224

baldurmen opened this issue Feb 28, 2021 · 0 comments
Labels

Comments

@baldurmen
Copy link

Describe the Bug

The testsuite fails on hosts that don't have a network connection.

Here's the error log, sadly it's too long to be included directly in the issue's body:

tk_jetty9_testsuite_failure.log

Expected Behavior

The testsuite should be independent of the host's network connection. In general, tests shouldn't rely on the host having a functioning network connection, as it makes them more flaky.

Steps to Reproduce

Steps to reproduce the behavior:

  1. run lein test and see that the testsuite passes
  2. run LEIN_OFFLINE=true lein test and see that the testsuite still passes
  3. disable the network connection on the host (for example, with sudo ifdown $INTERFACE)
  4. run LEIN_OFFLINE=true lein test
  5. the testsuite now fails

Environment

  • Using the latest commit on the main branch (98fd16e)
  • Debian Sid (but that shouldn't matter)
@baldurmen baldurmen added the bug label Feb 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant