From 8d791b0370a0285fe6ef5346c12e5fd9444b02dc Mon Sep 17 00:00:00 2001 From: Prathamesh Sonpatki Date: Sat, 16 Jul 2016 11:32:05 +0530 Subject: Fix the random failure of `test_create_resets_cached_counters` - Tried specifying `id` for the `readers` records but it is interconnected with so many tests that many random tests started failing. - So switched to the approach of deleting all readers in the `create_resets_cached_counters` test. --- activerecord/test/fixtures/readers.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'activerecord/test/fixtures/readers.yml') diff --git a/activerecord/test/fixtures/readers.yml b/activerecord/test/fixtures/readers.yml index af5f888e4b..14b883f041 100644 --- a/activerecord/test/fixtures/readers.yml +++ b/activerecord/test/fixtures/readers.yml @@ -1,9 +1,11 @@ michael_welcome: + id: 1 post_id: 1 - person: michael + person_id: 1 first_post_id: 2 michael_authorless: + id: 2 post_id: 3 - person: michael + person_id: 1 first_post_id: 3 -- cgit v1.2.3