Skip to content

Commit

Permalink
fixup! test: increase timeout when running inside CI
Browse files Browse the repository at this point in the history
  • Loading branch information
macno committed Feb 26, 2024
1 parent 51178ea commit 9943efa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/main.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ import { EnvParse } from '@fluidware-it/saddlebag';
const runInCI = EnvParse.envBool('CI', false);

describe('single rabbitmq', () => {
jest.setTimeout(runInCI ? 30000 : 10000);
jest.setTimeout(runInCI ? 60000 : 10000);
beforeAll(async () => {
startDocker('single');
await setTimeout(runInCI ? 5000 : 20000);
await setTimeout(runInCI ? 5000 : 50000);
});
afterAll(() => {
cleanUpDocker('single');
Expand Down

0 comments on commit 9943efa

Please sign in to comment.