-
Notifications
You must be signed in to change notification settings - Fork 27
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
Scala CE3 #111
Conversation
sbt 1.9.0 deprecated the |
On two runs now, I get a 500 response from the server on scenario 6. Server invocation:
Run the Logs are attached (and not very helpful). :-) |
I'm not sure why we don't see it in CI but the server seems to be doing the correct thing so it seems there is something in So maybe that is why? But I'm not sure how to fix it. |
Oh, I misremembered how the client code works. It raises an error at the end if any of the scenarios' results aren't "right". OK, I've looked at everything locally again, and the code runs fine. It does log that 500 status, but that's apparently http4s logging the decoding failure from So it looks like we're back to the drawing board on your CI problem. Can you tell me a bit more about what that looks like in your CI environment? |
Ah. Just a red herring then. 😀 For the CI problem, in Scenario 9 the letters are not in the right order and I'm not sure why as the code looks right. And it's odd that it works fine for me locally. Let me know if you have any ideas on how it might be possible to get those in the wrong order. |
I enabled logging and see the responses and instants:
The responses should be spaced out by 1 second each as that is how the server is sending them. I'm still not sure how that is going wrong and only in CI. My only guess is that some amount of parallelism is being based on number of cores but I'm not sure how to try and change that. |
Yep, I think I see the problem. Great detective work! I'll poke at this a bit later. |
Oh, nevermind: the issue isn't on the client side, right? I added logging to my scenario9, and in running the test I saw the second between each response, as you said. |
I think this has to be an issue on the client side (not 100% certain though). None of the other clients have an issue with this. It only happens in CI (where there are 2 cores). I guess we could try to reproduce this locally by somehow only having 2 cores... Will have to investigate how to turn my cores off or something. |
@jamesward, I've updated my branch on my fork, for what that's worth. But it's not likely to be worth much, as a conversation I had with Daniel Spiewak on Discord explains:
|
…to take advantage of Weaver running tests in parallel.
…ue up to 10,000 requests and never timeout. scenario3 now passes.
…rd test run crashes.
…s. repeat 100 IntegrationTest/test still fails at some point, but this may be a local file descriptor limitation.
Thanks @paul-snively! I've merged this and we can do some more tweaking as needed. |
No description provided.