Fix sleep command in tests Upstream-commit: f7eaeae43cf2391327978473cf7027be887588e3 Component: engine