fix mock ip  in discover test