a951797224
use sleep_for which works cross-platform
for other tests as well
Change-Id: I915444d620e9fad0b9eda93bcdd244f9956ab8d5
[ROCm/hip commit: 03ae7251de]