-
Notifications
You must be signed in to change notification settings - Fork 24
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
Federation background delivery process test fail #37
Comments
I updated my node to |
Thanks for the kind words. These two tests use timeouts, so they are prone to false positives. They may pass if you re-run the tests. The tests could be improved by replacing the timeouts with a combination of clock mocking (to run out delivery delay timers) and |
Thanks for the reply - I suspected it must be timeout related and tried different timeout values but haven't been successful in finding the right ones to pass the test - but I am happy to hear it is more of an imprecise test issue rather then a code issue. |
I decided to give it a try few more times and I think I've found a sweet spot (for my machine at least). Giving 20ms per each call makes all the tests pass (4 calls: 80, 5 calls: 100, 6 calls: 120). It still passes the tests in 50% of time but at least I have seen all green. Still seeing that |
Hi, going through your code as ActivityPub learning exercise as this is the nicest ActivityPub code I could find on the web!
Back to the point: I got 2 tests failing. Going through documentation you've warned about possible
http-signature
issue, butI didn't get the InvalidHeaderError, so I am raising this as an issue.
The tests were run on
Windows 10
,Node: v14.5.0
,NPM: 6.14.5
.The text was updated successfully, but these errors were encountered: