test: A more "atomic" way of checking for the signal to happen

Authored by aacid on Jul 23 2018, 6:08 PM.