File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 || \
Original file line number Diff line number Diff 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)
1010jest . 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
1517let terminology = true ;
1618jest . setTimeout ( 120_000 )
You can’t perform that action at this time.
0 commit comments