Skip to content

Conversation

@v-stickykeys
Copy link
Contributor

The build-indexing test times out when running the tests locally.
This pr extends the test timeout which allows it to pass.

Repro

Running

cd js-ceramic
npm install
npm run build
npm run test

Produces

Summary of all failing tests
 FAIL  src/indexing/__tests__/build-indexing.test.ts (6.255 s)
  ● build for postgres connection string

    thrown: "Exceeded timeout of 5000 ms for a test.
    Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

      50 | })
      51 |
    > 52 | test('build for postgres connection string', async () => {
         | ^
      53 |   const { databaseURL, kill } = await getDatabase()
      54 |   const indexingApi = buildIndexing(
      55 |     {

      at test (src/indexing/__tests__/build-indexing.test.ts:52:1)

@v-stickykeys v-stickykeys self-assigned this Dec 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants