Author: REHSACK
Date: Tue Oct  2 04:26:50 2012
New Revision: 15409

Modified:
   dbi/branches/sqlengine/t/85gofer.t

Log:
- "fix" f_lockfile => f_lock (f_lockfile is the attr for lock file extension)
- since DBI::DBD::SqlEngine implements own ::db::data_sources the go_dbh_method
  is always used because the default implementation if ::db::data_sources isn't
  invoked


Modified: dbi/branches/sqlengine/t/85gofer.t
==============================================================================
--- dbi/branches/sqlengine/t/85gofer.t  (original)
+++ dbi/branches/sqlengine/t/85gofer.t  Tue Oct  2 04:26:50 2012
@@ -50,7 +50,7 @@
 
 my @remote_dsns = DBI->data_sources( "dbi:DBM:", {
     dbm_type => $opt_dbm,
-    f_lockfile => 0,
+    f_lock => 0,
     f_dir => test_dir() } );
 my $remote_dsn = $remote_dsns[0];
 ( my $remote_driver_dsn = $remote_dsn ) =~ s/dbi:dbm://i;
@@ -215,8 +215,9 @@
 
     # tests go_request_count, caching, and skip_default_methods policy
     my $use_remote = ($policy->skip_default_methods) ? 0 : 1;
+    $use_remote = 1; # XXX since DBI::DBD::SqlEngine::db implements own 
data_sources this is always done remotely
     note sprintf "use_remote=%s (policy=%s, transport=%s) %s",
-        $use_remote, $policy_name, $transport, $dbh->{dbi_default_methods}||'';
+        $use_remote, $policy_name, $transport, 
DBI::neat($dbh->{dbi_default_methods})||'';
 
 SKIP: {
     skip "skip_default_methods checking doesn't work with Gofer over Gofer", 3

Reply via email to