Skip to content

Commit 3d21a15

Browse files
reordered the localstack start and destroy in test commands
1 parent b5b6191 commit 3d21a15

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

services/ehr-out-service/tasks

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,12 +185,12 @@ case "${command}" in
185185
prepare_local_envs_for_ide
186186
;;
187187
test_integration)
188-
destroy_localstack
189188
configure_local_envs
190-
start_localstack_itest
189+
start_localstack
191190
npm install
192191
sh scripts/create-dynamodb-table.sh
193192
npm run test:integration
193+
destroy_localstack
194194
;;
195195
start_localstack)
196196
start_localstack
@@ -201,10 +201,11 @@ case "${command}" in
201201
;;
202202
test_coverage)
203203
configure_local_envs
204-
destroy_localstack
204+
start_localstack
205205
npm install
206206
sh scripts/create-dynamodb-table.sh
207207
npm run test:coverage
208+
destroy_localstack
208209
;;
209210
test_coverage_github_action)
210211
npm install

services/ehr-repo/tasks

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,11 +137,11 @@ case "${command}" in
137137
npm run lint
138138
npm run test:unit
139139
configure_local_envs
140-
destroy_localstack
141140
start_localstack
142141
sh scripts/create-bucket.sh
143142
sh scripts/create-dynamodb-table.sh
144143
npm run test:integration
144+
destroy_localstack
145145
;;
146146
test_coverage)
147147
npm install

0 commit comments

Comments
 (0)