You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I did some more poking at this since it fails fairly often. The test in question, test_import_job_obs_with_one_photo, only passes if a previous test has completed a InatImportJob.perform_now. A specific test that you can run before that one to get it to succeed is test_import_job_obs_with_sequence_and_multiple_ids. So if you comment out all the other tests in this file and then run:
rails t test/jobs/inat_import_job_test.rb --verbose --seed 31849
it should run test_import_job_obs_with_sequence_and_multiple_ids before test_import_job_obs_with_one_photo. and both should succeed. The key bit in the first test is the InatImportJob.perform_now(inat_import). The key data difference I see inside test_import_job_obs_with_one_photo is that the current name of the image that gets tested. I don’t understand enough of how that gets set to go further at the moment, but hopefully that helps you get unstuck on this issue.
The text was updated successfully, but these errors were encountered:
This test fails unless a previous test has completed a
InatImportJob.perform_now
.@mo-nathan points out:
The text was updated successfully, but these errors were encountered: