diff options
| author | Teddy Wing | 2017-12-13 17:33:05 +0100 |
|---|---|---|
| committer | Teddy Wing | 2017-12-13 17:46:07 +0100 |
| commit | a9557b7f042dd25c56d0af75d55fadb63e862a26 (patch) | |
| tree | da0b4f8c1cd75ebf4b3ab3fa3168a778e8dab089 | |
| parent | bd8a999b12963b7303500ce93449bb7932afeec3 (diff) | |
| download | chouette-core-a9557b7f042dd25c56d0af75d55fadb63e862a26.tar.bz2 | |
referential_lock_during_creation_spec: Skip truncation tests
Just discussed this with Alban. The truncation tests are breaking the
test suite, and I've spent way too long on this already. Take the specs
out of the suite for now until we can come up with a different way to
run these or test this behaviour without breaking everything.
The new task to fix this is #5295.
Refs #5024
| -rw-r--r-- | spec/models/referential/referential_lock_during_creation_spec.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/models/referential/referential_lock_during_creation_spec.rb b/spec/models/referential/referential_lock_during_creation_spec.rb index ae22fa95d..717a96136 100644 --- a/spec/models/referential/referential_lock_during_creation_spec.rb +++ b/spec/models/referential/referential_lock_during_creation_spec.rb @@ -72,6 +72,8 @@ RSpec.describe Referential, type: :model do context truncation: true do it "works asynchronously" do + skip('The truncation strategy breaks all subsequent tests (See #5295)') + begin referential_1 = build( :referential, @@ -112,6 +114,8 @@ RSpec.describe Referential, type: :model do end it "works asynchronously when one is updated" do + skip('The truncation strategy breaks all subsequent tests (See #5295)') + begin referential_1 = nil referential_2 = nil @@ -153,6 +157,8 @@ RSpec.describe Referential, type: :model do context "when two Referentials are created at the same time", truncation: true do it "raises an error when the DB lock timeout is reached" do + skip('The truncation strategy breaks all subsequent tests (See #5295)') + begin referential_1 = build( :referential, |
