wait in timeout seconds.
fix test