-
Notifications
You must be signed in to change notification settings - Fork 8
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
Test test ❌ #39
Test test ❌ #39
Conversation
Aha, the test passes despite a panicked thread. Two things need to be done:
|
oh.. I accidentally killed the nginx I missed it because the test was passing regardless of a channel open |
4a888d3
to
f5083d1
Compare
@@ -0,0 +1 @@ | |||
# this file keeps the directory around for tests |
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.
Can this be an empty .gitignore
?
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.
I force-pushed a .gitignore. The rest is the same
yeah you knew it, damn docker L179 integration.rs needs 172.17.0.1. Also maybe cherry-pick /pull this commit onto your test-test branch, makes tests fail depending on test success. |
@nickfarrow Huzzah!!! you fixed it! This one was a headache to find. Binding to 172.17.0.2 doesn't run on my mac however, so we need a dynamic var to bind to. |
Without binding to the bridge the gateway fails on GitHub actions.
By adding a `test_succeeded` bool to the test `Fixture` we can update it to `true` once the test case has been completed. After `drop(self)` runs the docker cleanup, if `test_succeeded` is false then we force a panic to reflect the failed test.
Nice! LGTM. Let me run locally |
#13 passed CI when it should not have, because the loin server failed to connect. However, it passes with a successful payjoin on my machine. I'm pushing this to run CI and see if I can replicate the problem.
https://github.com/chaincase-app/nolooking/actions/runs/3325555814
/jobs/5498363364