Skip to content

Commit 6b23064

Browse files
author
rtschu
committed
added sleep call to wait for index finish
1 parent b83c57c commit 6b23064

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/search_test.php

+1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ public function test_discussion_discussion() {
4545

4646
[$discussion, $post1] = $moodleoverflowgen->post_to_forum($moodleoverflow, $user);
4747
$post2 = $moodleoverflowgen->post_to_discussion($moodleoverflow, $discussion, $user);
48+
$this->waitForSecond();
4849

4950
$searchmanager = \core_search\manager::instance();
5051
$searchmanager->index(true);

0 commit comments

Comments
 (0)