Skip to content

Commit 29c4ec9

Browse files
committed
Merge branch 'Testing-with-8GB' of https://github.com/NHSDigital/IOPS-FHIR-Test-Scripts into IOPS-4054-Increasing-Heap-Mem-for-Maven-Build
2 parents 833e4e2 + 5694c88 commit 29c4ec9

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/masterfhirvalidation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,12 @@ jobs:
6565

6666
- name: Build FHIR
6767
env:
68-
MAVEN_OPTS: -Xmx4G
68+
MAVEN_OPTS: -Xmx8G
6969
run: cd validation-service-fhir-r4 && mvn clean package
7070

7171
- name: Run FHIR Validator
7272
run: |
73-
nohup java -Xms2G -Xmx8G -jar validation-service-fhir-r4/target/fhir-validator.jar --terminology.url=https://ontology.nhs.uk/production1/fhir --terminology.authorization.tokenUrl=https://ontology.nhs.uk/authorisation/auth/realms/nhs-digital-terminology/protocol/openid-connect/token --terminology.authorization.clientId=${{ secrets.ONTO_CLIENT_ID }} --terminology.authorization.clientSecret=${{ secrets.ONTO_CLIENT_SECRET }} --aws.validationSupport=false --aws.queueEnabled=false &
73+
nohup java -Xmx2G -jar validation-service-fhir-r4/target/fhir-validator.jar --terminology.url=https://ontology.nhs.uk/production1/fhir --terminology.authorization.tokenUrl=https://ontology.nhs.uk/authorisation/auth/realms/nhs-digital-terminology/protocol/openid-connect/token --terminology.authorization.clientId=${{ secrets.ONTO_CLIENT_ID }} --terminology.authorization.clientSecret=${{ secrets.ONTO_CLIENT_SECRET }} --aws.validationSupport=false --aws.queueEnabled=false &
7474
# Wait for it to become ready, try 30 times, with 10 seconds between
7575
for i in {1..60}; do
7676
if curl -sSf http://localhost:9001/metadata > /dev/null || \

src/validator.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@ import fs from "fs";
99
// Retry: This lines address the "$validate-code" read timeoout (e.g., when the terminology endpoint is slow)
1010
jest.retryTimes(2, { logErrorsBeforeRetry: true });
1111

12-
const args = require('minimist')(process.argv.slice(2))
12+
// Retry flaky specs (e.g., when the terminology endpoint is slow)
13+
jest.retryTimes(2, { logErrorsBeforeRetry: true });
1314

15+
const args = require('minimist')(process.argv.slice(2))
1416

1517
let terminology = true;
1618
jest.setTimeout(120_000)

0 commit comments

Comments
 (0)