• Robert Knight's avatar
    Attempt to fix flakey PortRPC tests · 17a65101
    Robert Knight authored
    Tests sometimes failed because a PortRPC method handler was not called
    after the fixed message delivery delay that the tests allowed.
    
    I have not been able to reproduce locally, but attempt to resolve the
    issue by waiting for a specific message to be delivered to the
    MessagePort instead of waiting a fixed amount of time.
    
    For some test cases which assert that a message was *not* delivered, a
    fixed delay is still used. This is acceptable because the test will
    still pass in the rare cases where the fixed delay is too short.
    17a65101
Name
Last commit
Last update
..
test Loading commit data...
README.md Loading commit data...
index.js Loading commit data...
port-finder.js Loading commit data...
port-provider.js Loading commit data...
port-rpc.js Loading commit data...
port-util.js Loading commit data...