tests.migrate_speed: Adjustment for checking TestNAError.

Signed-off-by: Yu Mingfei <yumingfei@cn.fujitsu.com>