#309951 by chx: Slow down tracker tests for supersonic computers.

merge-requests/26/head
Angie Byron 2008-09-21 22:15:52 +00:00
parent d83a75125e
commit 784b01b120
1 changed files with 3 additions and 0 deletions

View File

@ -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);