use notify_all for test

Change-Id: Ib82e4f60cbc9cdb0e6b2c6af81cb95b09cc95e7e