sub get_from_storage {
my $self = shift @_;
my @primary_columns = map { $self->$_ } $self->primary_columns;
- return $self->result_source->resultset->find(@primary_columns);
+ return $self->result_source->resultset->search(undef, {execute_reliably=>1})->find(@primary_columns);
}
=head2 throw_exception
=> 'Got expected single result from transaction';
}
-## Private attribute tests
+## Test the reliable_storage resultset attribute.
{
ok my $artist_rs = $replicated->schema->resultset('Artist')
=> 'Created a resultset using reliable storage';
ok my $artist = $reliable_artist_rs->find(2)
- => 'got an artist to test see the attributes';
+ => 'got an artist result via reliable storage';
}
## Delete the old database files