Open PedroAugustoRamalhoDuarte opened 2 years ago
If you can provide an https://www.codetriage.com/example_app that reproduces the problem then maybe I can take a look.
@schneems thanks for the support, i will provide soon
Hello @schneems , i have build the repo to reproduce the problem (https://github.com/PedroAugustoRamalhoDuarte/derailed_benchmarks_sorcery), try to run: USE_AUTH=true derailed exec perf:stackprof
Sorcery have 3 types of test helpers (https://github.com/Sorcery/sorcery/wiki/Testing-Rails), i have tried with all options and didn't succeed, each one with a different problem.
The best way is using auto_login
from sorcery, but its uses sessions and i think is not enable when we execute derailed, because this error:
undefined local variable or method `session' for #<SorceryAuth:0x00007f259719d138 @app=#<DerailedBencgmarksSorcery::Application>> (NameError)
Hello, I am trying to setup a sorcery (https://github.com/Sorcery/sorcery) to use derailed benchmarks, but struggling with it, i try do setup this code inside perf.rake:
When i run:
USE_AUTH=true PATH_TO_HIT='/library/library/livros' derailed exec perf:stackprof
I receive the following error:
Thanks for the help!!