because the function is called in e2e/network tests only.
Signed-off-by: clarklee92 <clarklee1992@hotmail.com>