Why I don't see collected time execution data for my build in user dashboard?
If you go to user dashboard and open Build metrics
for your API token and you open build for your last git commit you should see there info about collected time execution data from all CI nodes. If you don't see collected time execution data for CI nodes then please ensure:
- you have
Knapsack::Adapters::RspecAdapter.bind
in yourrails_helper.rb
orspec_helper.rb
- you explicitly set
RAILS_ENV=test
on your CI nodes (for instance you use Docker then please setRAILS_ENV
) knapsack_pro
Queue Mode (version < 3.1.0) saves temporary files with collected time execution data inyour_rails_project/tmp/knapsack_pro/queue/
. Please ensure you don't clean thetmp
directory in your tests so thatknapsack_pro
can publish time execution data to the Knapsack Pro API server.knapsack_pro
version >= 3.1.0 uses.knapsack_pro
directory for storing temporary files.