File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
packages/runtime/test/consumption Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -161,7 +161,6 @@ jobs:
161161 - uses : actions/setup-node@v6
162162 with :
163163 node-version : current
164- - uses : supercharge/mongodb-github-action@v1
165164 - run : npm ci
166165 - run : npm run build:node
167166 - run : npm run build:schemas --workspace=@nmshd/runtime
Original file line number Diff line number Diff line change @@ -22,6 +22,12 @@ beforeAll(async () => {
2222 "Content-Type" : "application/json" // eslint-disable-line @typescript-eslint/naming-convention
2323 }
2424 } ) ;
25+
26+ let healthCheckResult = await axiosInstance . get ( "/health" ) ;
27+ while ( healthCheckResult . status !== 200 ) {
28+ await new Promise ( ( resolve ) => setTimeout ( resolve , 1000 ) ) ;
29+ healthCheckResult = await axiosInstance . get ( "/health" ) ;
30+ }
2531} , 120000 ) ;
2632
2733afterAll ( async ( ) => {
You can’t perform that action at this time.
0 commit comments