[test]revise the timeout of nw-in-mem test

revise the timeout of `nw-in-mem` test to get the correct result