Skip to content

Navigation Menu

Sign in
Sign up

fix: increase timeout for build indexing test - #2606

Open
v-stickykeys wants to merge 1 commit into
develop from
test/timeout
Open

fix: increase timeout for build indexing test #2606
v-stickykeys wants to merge 1 commit into
develop from
test/timeout

Conversation

@v-stickykeys

@v-stickykeys v-stickykeys commented Dec 12, 2022

Copy link
Copy Markdown
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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@pawartur pawartur Awaiting requested review from pawartur

At least 1 approving review is required to merge this pull request.

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /