c4a69b87bd (multi db_schema support) breaks oracle tests:
HEAD is now at c4a69b8... multi db_schema support
rabbit@Thesaurus:~/devel/schema_loader$ prove -l t/10_05ora_common.t -v
t/10_05ora_common.t ..
1..302
ok 1 - col_accessor_map was passed the default name
ok 2 - col_accessor_map func was passed the table_name
ok 3 - col_accessor_map func was passed the table_class
...
... lots of good passes
...
ok 279 - test column col_rowid has definition: {data_type => "rowid"}
expecting: {data_type => "rowid"}
ok 280 - col_accessor_map was passed the default name
ok 281 - col_accessor_map func was passed the table_name
ok 282 - col_accessor_map func was passed the table_class
ok 283 - col_accessor_map func was passed the table_moniker
ok 284 - col_accessor_map func was passed the schema_class
ok 285 - row in mixed-case table
ok 286 - rel in mixed-case table
ok 287 - accessor for mixed-case column name in mixed case table
DBIx::Class::ResultSource::column_info(): No such column id at
t/10_05ora_common.t line 163
# Looks like you planned 302 tests but ran 287.
# Looks like your test exited with 255 just after 287.
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 15/302 subtests
(less 2 skipped subtests: 285 okay)
Test Summary Report
-------------------
t/10_05ora_common.t (Wstat: 65280 Tests: 287 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 302 tests but ran 287.
Files=1, Tests=287, 66 wallclock secs ( 0.10 usr 0.00 sys + 9.40 cusr
0.74 csys = 10.24 CPU)
Result: FAIL
With a slight modification of the test, I get this dump - note the case
mismatch:
diff --git a/t/10_05ora_common.t b/t/10_05ora_common.t
index 29127e5..7cae073 100644
--- a/t/10_05ora_common.t
+++ b/t/10_05ora_common.t
@@ -161,6 +161,10 @@ my $tester = dbixcsl_common_tests->new(
SKIP: {
if (my $source = $monikers->{loader_test1s}) {
+
+ use Data::Dumper::Concise;
+ warn Dumper [ $schema->source($source)->columns_info ];
+
is
$schema->source($source)->column_info('id')->{sequence},
'loader_test1s_id_seq',
'Oracle sequence detection';
...
ok 284 - col_accessor_map func was passed the schema_class
ok 285 - row in mixed-case table
ok 286 - rel in mixed-case table
ok 287 - accessor for mixed-case column name in mixed case table
[
{
DAT => {
accessor => "dat",
data_type => "varchar2",
is_nullable => 0,
size => 32
},
ID => {
accessor => "id",
data_type => "integer",
is_auto_increment => 1,
is_nullable => 0,
original => {
data_type => "number",
size => [
38,
0
]
},
sequence => "loader_test1s_id_seq"
}
}
]
DBIx::Class::ResultSource::column_info(): No such column id at
t/10_05ora_common.t line 168
# Looks like you planned 302 tests but ran 287.
# Looks like your test exited with 255 just after 287.
...