Tests were split and rspec

Hi, I have setup the parallelism option with rspec, and out of the whole suite of tests (~800 tests), only 5 are failing because the before(:each) block is not being executed by rspec properly, have you ran into this issue before? I’m on rspec 3.8. And this is what my rspec command looks like:

bundle exec rspec --profile 10
–format RspecJunitFormatter
–out test_results/rspec.xml
–format progress
$(circleci tests glob “spec/**/*_spec.rb” | circleci tests split --split-by=timings)

EDIT: SOLVED by adding --timings-type=classname

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.