Skip to content

Commit

Permalink
Adjust the timeouts in the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
slvrtrn committed Jul 12, 2024
1 parent e78b6f0 commit 6b8c13b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion karma.config.cjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const webpackConfig = require('./webpack.dev.js')

const TEST_TIMEOUT_MS = 300_000
const TEST_TIMEOUT_MS = 400_000

module.exports = function (config) {
config.set({
Expand Down
4 changes: 2 additions & 2 deletions packages/client-common/__tests__/utils/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
} from './test_env'
import { TestLogger } from './test_logger'

jasmine.DEFAULT_TIMEOUT_INTERVAL = 300_000
jasmine.DEFAULT_TIMEOUT_INTERVAL = 400_000

let databaseName: string
beforeAll(async () => {
Expand All @@ -24,7 +24,7 @@ beforeAll(async () => {
)
if (isCloudTestEnv() && databaseName === undefined) {
const cloudInitClient = createTestClient({
request_timeout: 30_000,
request_timeout: 10_000,
})
await wakeUpPing(cloudInitClient)
databaseName = await createRandomDatabase(cloudInitClient)
Expand Down

0 comments on commit 6b8c13b

Please sign in to comment.