Skip to content

Commit

Permalink
Temporarily skip child-vaccination smoke test
Browse files Browse the repository at this point in the history
  • Loading branch information
eyelidlessness committed Aug 28, 2024
1 parent 57accc3 commit 6438af7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ defaults:

env:
TZ: 'America/Phoenix'
GITHUB_ACTIONS_RUN_ATTEMPT: ${{ github.run_attempt }}

jobs:
install-and-build:
Expand Down
10 changes: 9 additions & 1 deletion packages/scenario/test/smoketests/child-vaccination.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,15 @@ const answerHousehold = (
scenario.trace('END CHILDREN');
};

describe('ChildVaccinationTest.java', () => {
const TEMPORARY_SKIP_START = new Date('2024-08-28T19:19:22.237Z');
/** Update this to extend the temporary skip clock! */
const TEMPORARY_SKIP_DURATION_DAYS = 14;
const TEMPORARY_SKIP_DURATION = TEMPORARY_SKIP_DURATION_DAYS * 24 * 60 * 60 * 1000;
const TEMPORARY_SKIP_END = new Date(TEMPORARY_SKIP_START.getTime() + TEMPORARY_SKIP_DURATION);
const IS_TEMPORARILY_SKIPPED = Date.now() < TEMPORARY_SKIP_END.getTime();
const IS_CI_RERUN = Number(import.meta.env.GITHUB_ACTIONS_RUN_ATTEMPT ?? '0') > 1;

describe.skipIf(IS_TEMPORARILY_SKIPPED || IS_CI_RERUN)('ChildVaccinationTest.java', () => {
afterEach(() => {
refSingletons.clear();
});
Expand Down

0 comments on commit 6438af7

Please sign in to comment.