Adjust CI to execute one job as a non-poisoning noisy tracer
dist: precise
env:
- CLEANTEST=false
- - POISON_ENV=true
- DBIC_TRACE=1
+ - DBICTEST_VERSION_WARNS_INDISCRIMINATELY=1
- BREWVER=5.16.3
- BREWOPTS="-Duseithreads -Dusemorebits"
# make sure an exception_action can replace $@ with an antipattern
$schema->exception_action(sub { die $ap->new });
- warnings_like {
+ warnings_exist {
eval { $throw->() };
isa_ok $@, $ap;
} $exp_warn, 'proper warning on antipattern encountered within exception_action';
# and make sure that the rethrow works
$schema->exception_action(sub { die @_ });
- warnings_like {
+ warnings_exist {
eval {
$schema->txn_do (sub { die $ap->new });
};