Permalink
Browse files

* added sleep 1 to tickle and bugs not exposed in the case of the script

  running in entirety before the second rolls over


git-svn-id: svn://svn.tt2.org/tt/Template2/trunk@433 d5a88997-0a34-4036-9ed2-92fb5d660d91
  • Loading branch information...
1 parent aa151fe commit 74c8840c25203441fd53f7161c6e8a6a7614651f @abw committed Jul 8, 2002
Showing with 7 additions and 0 deletions.
  1. +7 −0 t/date.t
View
@@ -61,6 +61,13 @@ my $params = {
date_calc => $got_date_calc,
};
+# force second to rollover so that we reliably see any tests failing.
+# lesson learnt from 2.07b where I broke the Date plugin's handling of a
+# 'time' parameter, but which didn't immediately come to light because the
+# script could run before the second rolled over and not expose the bug
+
+sleep 1;
+
test_expect(\*DATA, { POST_CHOMP => 1 }, $params);

0 comments on commit 74c8840

Please sign in to comment.