Add timeout set to fix Timeout issue and replace assert_true with assert_less_than

Signed-off-by: wanmingx.lin <wanmingx.lin@intel.com>