From 784b01b12015e9aca3f80a906884f8bd995a617e Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Sun, 21 Sep 2008 22:15:52 +0000 Subject: #309951 by chx: Slow down tracker tests for supersonic computers. --- modules/tracker/tracker.test | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules/tracker/tracker.test') 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); -- cgit v1.2.3