Add timeout for the test case in patch context (see HADOOP-9389)