apify / apify-storage-local-js

Local emulation of the apify-client NPM package, which enables local use of Apify SDK.
3 stars 4 forks source link

Test `forefront adds requests to queue head` is flaky #53

Open szmarczak opened 2 years ago

szmarczak commented 2 years ago

https://github.com/apify/apify-storage-local-js/actions/runs/3203120625/jobs/5232838664

   ● batchAddRequests › forefront adds requests to queue head

    expect(received).toBe(expected) // Object.is equality

    Expected: "j9sZR05LRfORAM7"
    Received: "3dIG3vofyaJ0vRs"

      675 |             LIMIT 1
      676 |         `).pluck().get();
    > 677 |         expect(firstId).toBe(newRequestId1);
          |                         ^
      678 |     });
      679 |
      680 |     describe('throws', () => {

      at Object.<anonymous> (test/request_queues.test.ts:677:25)