Author: turnstep
Date: Sun Dec 16 20:29:55 2007
New Revision: 10430

Modified:
   DBD-Pg/trunk/t/08async.t

Log:
Add a little extra sleep time, make sure we commit post-eval.


Modified: DBD-Pg/trunk/t/08async.t
==============================================================================
--- DBD-Pg/trunk/t/08async.t    (original)
+++ DBD-Pg/trunk/t/08async.t    Sun Dec 16 20:29:55 2007
@@ -195,7 +195,7 @@
        ok(!$res, $t);
 
        pass("Sleeping to allow query to finish");
-       sleep(2);
+       sleep(3);
        $t=q{Method pg_ready() returns true when query is finished};
        $res = $dbh->pg_ready();
        ok($res, $t);
@@ -335,6 +335,7 @@
 eval {
        $dbh->do("DROP TABLE dbdpg_async_test");
 };
+$dbh->commit();
 $dbh->do("CREATE TABLE dbdpg_async_test(id INT, t TEXT)");
 $dbh->commit();
 $sth->execute();

Reply via email to