• Robert Knight's avatar
    Fix two slow tests · 7f48a0c9
    Robert Knight authored
     * Avoid `assert.includes()` in Bridge test, since this does a deep
       equality comparison which is much more expensive than necessary
       (50-60ms to execute on a desktop system with no contention. I think
       this might explain the very occassional failure seen on Travis).
    
     * Use the correct name for the `retries` option in a
       retryPromiseOperation() test. This test should have failed but
       because the min timeout value was set so low, the test was taking < 2
       seconds to run even though it was retrying 10 times with an
       expontentially increasing timeout.
    7f48a0c9
bridge-test.coffee 5.78 KB