Skip to content

[i886] - update logic to fix collection thumbnail bug #2037

[i886] - update logic to fix collection thumbnail bug

[i886] - update logic to fix collection thumbnail bug #2037

GitHub Actions / Test Results failed Nov 14, 2024 in 0s

2 fail, 50 skipped, 1 990 pass in 18m 23s

    3 files  ±0      3 suites  ±0   18m 23s ⏱️ +41s
2 042 tests +2  1 990 ✅ +1  50 💤 ±0  2 ❌ +1 
2 069 runs  +2  2 015 ✅ +1  52 💤 ±0  2 ❌ +1 

Results for commit d0a437f. ± Comparison against earlier commit 7e77eb6.

Annotations

Check warning on line 0 in ./spec/jobs/migrate_resources_job_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

MigrateResourcesJob#perform migrates a file set by its id (spec.jobs.migrate_resources_job_spec) failed

artifacts/spec-reports-1/rspec-1.xml [took 0s]
Raw output
expected `nil.present?` to be truthy, got false
Failure/Error: expect(Valkyrie::Persistence::Postgres::ORM::Resource.find_by(id: af_file_set.id.to_s)).to be_present
  expected `nil.present?` to be truthy, got false
./spec/jobs/migrate_resources_job_spec.rb:41:in `block (3 levels) in <top (required)>'
./spec/support/multitenancy_metadata.rb:50:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'

Check warning on line 0 in ./spec/jobs/create_large_derivatives_job_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

CreateLargeDerivativesJob successfully calls the logic in CreateDerivativesJob (spec.jobs.create_large_derivatives_job_spec) failed

artifacts/spec-reports-0/rspec-0.xml [took 0s]
Raw output
(Hydra::Derivatives::VideoDerivatives (class)).create(*(any args))     expected: 1 time with any arguments     received: 0 times with any arguments
Failure/Error: expect(Hydra::Derivatives::VideoDerivatives).to receive(:create)

  (Hydra::Derivatives::VideoDerivatives (class)).create(*(any args))
      expected: 1 time with any arguments
      received: 0 times with any arguments
./spec/jobs/create_large_derivatives_job_spec.rb:37:in `block (2 levels) in <top (required)>'
./spec/support/multitenancy_metadata.rb:50:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'