remove some uneeded sleeps in tests Upstream-commit: 325c0404c84db11630cfcc24ac93cb82763de511 Component: engine