Skip to content

Commit

Permalink
TASK speedup Neos.Neos behavioral test by removing sleep(2);
Browse files Browse the repository at this point in the history
Currently we run tests only in sync mode `CATCHUPTRIGGER_ENABLE_SYNCHRONOUS_OPTION=1` as the async mode is broken: neos#4612

I presume the `sleep(2)` is an artefact for the async tests to work at some earlier point.
  • Loading branch information
mhsdesign committed Nov 17, 2023
1 parent 7f319fc commit 0505bb2
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,6 @@ public function resetContentRepositoryComponents(): void
*/
public function resetPersistenceManagerAndFeedbackCollection()
{
// FIXME: we have some strange race condition between the scenarios; my theory is that
// somehow projectors still run in the background when we start from scratch...
sleep(2);
$this->getObject(\Neos\Flow\Persistence\PersistenceManagerInterface::class)->clearState();
// FIXME: FeedbackCollection is a really ugly, hacky SINGLETON; so it needs to be RESET!
$this->getObject(\Neos\Neos\Ui\Domain\Model\FeedbackCollection::class)->reset();
Expand Down

0 comments on commit 0505bb2

Please sign in to comment.