Spec failure in `spec/models/packages/debian/group_distribution_spec.rb` | Packages::Debian::GroupDistribution behaves like Debian Distribution scopes .with_container does not return other distributions
Job #952742397 failed for b9037bae:
Trace
Failures:
1) Packages::Debian::GroupDistribution behaves like Debian Distribution scopes .with_container does not return other distributions
Failure/Error: expect(subject.to_a).to eq([distribution_with_suite, distribution, distribution_with_same_container])
expected: [#<Packages::Debian::GroupDistribution id: 1, created_at: "2021-01-09 01:59:10", updated_at: "2021-01...keys: nil, encrypted_signing_keys_iv: nil, file: "Release", file_signature: nil, signing_keys: nil>]
got: [#<Packages::Debian::GroupDistribution id: 1, created_at: "2021-01-09 01:59:10", updated_at: "2021-01...keys: nil, encrypted_signing_keys_iv: nil, file: "Release", file_signature: nil, signing_keys: nil>]
(compared using ==)
Diff:
@@ -1,4 +1,4 @@
[#<Packages::Debian::GroupDistribution id: 1, created_at: "2021-01-09 01:59:10", updated_at: "2021-01-09 01:59:10", group_id: 2290, creator_id: nil, valid_time_duration_seconds: nil, file_store: 1, automatic: true, automatic_upgrades: false, codename: "group-dist-1", suite: "mysuite", origin: nil, label: nil, version: nil, description: nil, encrypted_signing_keys: nil, encrypted_signing_keys_iv: nil, file: "Release", file_signature: nil, signing_keys: nil>,
- #<Packages::Debian::GroupDistribution id: 5, created_at: "2021-01-09 01:59:10", updated_at: "2021-01-09 01:59:10", group_id: 2290, creator_id: nil, valid_time_duration_seconds: nil, file_store: 1, automatic: true, automatic_upgrades: false, codename: "group-dist-4", suite: nil, origin: nil, label: nil, version: nil, description: nil, encrypted_signing_keys: nil, encrypted_signing_keys_iv: nil, file: "Release", file_signature: nil, signing_keys: nil>,
- #<Packages::Debian::GroupDistribution id: 2, created_at: "2021-01-09 01:59:10", updated_at: "2021-01-09 01:59:10", group_id: 2290, creator_id: nil, valid_time_duration_seconds: nil, file_store: 1, automatic: true, automatic_upgrades: false, codename: "group-dist-2", suite: nil, origin: nil, label: nil, version: nil, description: nil, encrypted_signing_keys: nil, encrypted_signing_keys_iv: nil, file: "Release", file_signature: nil, signing_keys: nil>]
+ #<Packages::Debian::GroupDistribution id: 2, created_at: "2021-01-09 01:59:10", updated_at: "2021-01-09 01:59:10", group_id: 2290, creator_id: nil, valid_time_duration_seconds: nil, file_store: 1, automatic: true, automatic_upgrades: false, codename: "group-dist-2", suite: nil, origin: nil, label: nil, version: nil, description: nil, encrypted_signing_keys: nil, encrypted_signing_keys_iv: nil, file: "Release", file_signature: nil, signing_keys: nil>,
+ #<Packages::Debian::GroupDistribution id: 5, created_at: "2021-01-09 01:59:10", updated_at: "2021-01-09 01:59:10", group_id: 2290, creator_id: nil, valid_time_duration_seconds: nil, file_store: 1, automatic: true, automatic_upgrades: false, codename: "group-dist-4", suite: nil, origin: nil, label: nil, version: nil, description: nil, encrypted_signing_keys: nil, encrypted_signing_keys_iv: nil, file: "Release", file_signature: nil, signing_keys: nil>]
Shared Example Group: "Debian Distribution" called from ./spec/models/packages/debian/group_distribution_spec.rb:6
# ./spec/support/shared_examples/models/packages/debian/distribution_shared_examples.rb:148:in `block (4 levels) in <top (required)>'
# ./spec/spec_helper.rb:326:in `block (3 levels) in <top (required)>'
# ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'
# ./spec/spec_helper.rb:317:in `block (2 levels) in <top (required)>'
# ./spec/spec_helper.rb:313:in `block (3 levels) in <top (required)>'
# ./spec/spec_helper.rb:313:in `block (2 levels) in <top (required)>'
Finished in 28 minutes 3 seconds (files took 1 minute 13.35 seconds to load)