summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2008-09-21 22:15:52 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2008-09-21 22:15:52 +0000
commit784b01b12015e9aca3f80a906884f8bd995a617e (patch)
tree6afe927c649dcfd7b64ce028df1d1e1662a191cd
parentd83a75125e0a63746ef426f47fa3fae5124cc642 (diff)
downloadbrdo-784b01b12015e9aca3f80a906884f8bd995a617e.tar.gz
brdo-784b01b12015e9aca3f80a906884f8bd995a617e.tar.bz2
#309951 by chx: Slow down tracker tests for supersonic computers.
-rw-r--r--modules/tracker/tracker.test3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/tracker/tracker.test b/modules/tracker/tracker.test
index 5f6f65dad..045191be1 100644
--- a/modules/tracker/tracker.test
+++ b/modules/tracker/tracker.test
@@ -133,6 +133,9 @@ class TrackerTest extends DrupalWebTestCase {
'subject' => $this->randomName(),
'comment' => $this->randomName(20),
);
+ // If the comment is posted in the same second as the last one then Drupal
+ // can't tell a difference, so wait one second here.
+ sleep(1);
$this->drupalPost('comment/reply/' . $node->nid, $comment, t('Save'));
$this->drupalLogin($this->user);