lock etcd in scripts/test

Signed-off-by: Simon Leung <leungs@us.ibm.com>