CartoDB / CartoDB-SQL-API

CartoDB SQL API
BSD 3-Clause "New" or "Revised" License
63 stars 65 forks source link

Copyfrom timeout test fails intermitently #611

Closed Algunenano closed 3 years ago

Algunenano commented 5 years ago

The test sets an arbitrary timeout of 10 ms and expects the query to be slower, but at least in my case most of the time it isn't:

  1) copy-endpoints
       timeout
         should fail with copyfrom and timeout:

      Uncaught AssertionError [ERR_ASSERTION]: Invalid response status code.
     Expected: 429
     Got: 200
     Body: {"time":0.004,"total_rows":6}
      + expected - actual

      -200
      +429

      at Server.<anonymous> (test/support/assert.js:84:28)
      at emitCloseNT (net.js:1618:8)
      at process._tickCallback (internal/process/next_tick.js:63:19)
Algunenano commented 3 years ago

Closing stale ticket