X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=dbsrgits%2FDBIx-Class.git;a=blobdiff_plain;f=t%2Fstorage%2Freplicated.t;h=38ddcb12deb2d9b343761097d602e257e0cde364;hp=67b6c2b4112fce95a71f729d0c0508463ec34822;hb=64ae166780d0cb2b9577e506da9b9b240c146d20;hpb=68de943862f06cabd397d2e74d12cd9cdc999779 diff --git a/t/storage/replicated.t b/t/storage/replicated.t index 67b6c2b..38ddcb1 100644 --- a/t/storage/replicated.t +++ b/t/storage/replicated.t @@ -89,7 +89,7 @@ TESTSCHEMACLASSES: { balancer_type=>'::Random', balancer_args=>{ auto_validate_every=>100, - master_read_weight => 1 + master_read_weight => 1 }, } }, @@ -105,8 +105,11 @@ TESTSCHEMACLASSES: { storage_type=> '::DBI::Replicated', balancer_type=>'::Random', balancer_args=> { - auto_validate_every=>100, - master_read_weight => 1 + auto_validate_every=>100, + master_read_weight => 1 + }, + pool_args=>{ + maximum_lag=>1, }, deploy_args=>{ add_drop_table => 1, @@ -735,7 +738,7 @@ ok my $transaction = sub { ->schema ->populate('Artist', [ [ qw/artistid name/ ], - [ $id, "Children of the Grave"], + [ $id, "Children of the Grave $id"], ]); ok my $result = $replicated->schema->resultset('Artist')->find($id)