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
Stopped working for benchee / only runs one command #68
Comments
You have a nice setup! I might steal it for myself 😆 well it works for me 🙈
I'm testing on Mac and this is Elixir/Erlang versions
|
Let me run it on the new framework and let me downgrade elixir... might be some Linux stuff maybe? Does it work for you when running my setup from the benchee repo? |
I didn't try it on I'll also try to run it on Linux. |
so... same on the new framework, however that made me remember this warning:
which may or may not be part of it, I'll see to fix that 😁 |
after installing inotify-tools and recompiling exguard (just removed all deps, fetched again and recompiled) still same behavior sadly :( |
I ran two tests
And it works even when the files are changed. |
@slashmili the error is some weird random failure in benchee's test execution... I don't think it is related although it may if some console interactivity breaks. 😅 But I'd still expect exguard to continue invoking the next steps? 🤔 |
(sadly benchee's test are a level of flakey as it involves a lot of integration style testing up to building an escript etc. the tests pass consistently these days but there's a lot of retrying going on) Maybe I should try the same exguard file on a simpler project though 🤔 |
Huh. Seems it is related to benchees test... when I comment that out from the file it works, running just a simple test file also works... but.. why? The tests are passing 👀 exit status is also definitely 0 so unless that completely borks my terminal I don't see why exguard should stop working 😅 |
Seems like
produces:
|
Verified it's definitel |
Thanks a lot for debugging the issue. That's still odd... I'll play around with that, maybe we are sitting on bug and can be reported to elixir project. |
@slashmili it may be but honestly once I figured out the test (by commenting out/selective running) it seems very much like a "me" problem 😂 (open a port to an iex shell, never close the port or shut down iex, just end the test) and it produces the error consistently. Like, ideally it'd still work but I may just be fing the shell somehow 😅 |
(at first I was sure it was related to all the io capture I do in parallel as a new elixir version at some point was buggy aroudn that, doesn't seem to be the case though) |
Trying to find some support in elixirforum 😅 https://elixirforum.com/t/starting-shutting-down-iex-with-a-port-gracefully/60388 |
Hello there my old and trusty tool author! And thanks for ex_guard 💚
I been getting back a bit into updating benchee but I noticed ex_guard doesn't work for me any more. I'm on all the most recent versions. Setup etc. over here: https://github.com/bencheeorg/benchee/blob/main/.exguard.exs
essentially this is my .exguard:
it always ever only runs the tests, and not all the other tasks that I set it up for:
Cheers,
Tobi
The text was updated successfully, but these errors were encountered: