• Guy Benoish's avatar
    Try to fix time-sensitive tests in blockonkey.tcl · f695d183
    Guy Benoish authored
    There is an inherent race between the deferring client and the
    "main" client of the test: While the deferring client issues a blocking
    command, we can't know for sure that by the time the "main" client
    tries to issue another command (Usually one that unblocks the deferring
    client) the deferring client is even blocked...
    For lack of a better choice this commit uses TCL's 'after' in order
    to give some time for the deferring client to issues its blocking
    command before the "main" client does its thing.
    This problem probably exists in many other tests but this commit
    tries to fix blockonkeys.tcl
    f695d183
blockonkeys.tcl 5.5 KB