Prevent unstable test result when run in specific time

If run test between 23:00 to 1:00 in locali time, result is unstable.
This patch fixes it.