diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2018-12-05 13:30:43 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2018-12-05 13:30:43 +0900 |
commit | 65c4b1b50df3fa59198de2d45d1f54b61ecc7864 (patch) | |
tree | cc60d3e5d8578fc29a9823b3197f3b4c94ca16a4 /activestorage/test/database | |
parent | 3a8659930405eda2a75f69abe1e332db772aba4f (diff) | |
download | rails-65c4b1b50df3fa59198de2d45d1f54b61ecc7864.tar.gz rails-65c4b1b50df3fa59198de2d45d1f54b61ecc7864.tar.bz2 rails-65c4b1b50df3fa59198de2d45d1f54b61ecc7864.zip |
Fix unstable `test_serialized_attribute_works_under_concurrent_initial_access` test
Since bd62389307e138ee0f274a9d62697567a3334ea0, isolate test of `test_serialized_attribute_works_under_concurrent_initial_access` fails.
```
$ ./bin/test -w test/cases/serialized_attribute_test.rb -n test_serialized_attribute_works_under_concurrent_initial_access
Using sqlite3
Run options: -n test_serialized_attribute_works_under_concurrent_initial_access --seed 32129
# Running:
E
Error:
SerializedAttributeTest#test_serialized_attribute_works_under_concurrent_initial_access:
ActiveRecord::StatementInvalid: SQLite3::SQLException: no such table:
```
If duplicate an unloaded model, it seems that method invocation for that class
is not guaranteed. Use the original class to avoid it.
Diffstat (limited to 'activestorage/test/database')
0 files changed, 0 insertions, 0 deletions