Skip to content

Commit 357732e

Browse files
committed
reverse sequential tests
1 parent e5ebf0c commit 357732e

File tree

1 file changed

+5
-61
lines changed

1 file changed

+5
-61
lines changed

.github/workflows/run-e2e-tests.yaml

Lines changed: 5 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,9 @@ jobs:
164164
permissions:
165165
id-token: write
166166
contents: write
167-
# strategy:
168-
# matrix:
169-
# test-case: [test_for_lambda_firehose_stack, test_for_firehose_metric_polling_stack, test_for_firehose_metric_streaming_stack, test_for_lambda_metrics_polling_stack, test_for_lambda_metrics_streaming_stack, test_for_lambda_firehose_metric_polling_stack, test_for_lambda_firehose_metric_streaming_stack]
167+
strategy:
168+
matrix:
169+
test-case: [test_for_lambda_firehose_stack, test_for_firehose_metric_polling_stack, test_for_firehose_metric_streaming_stack, test_for_lambda_metrics_polling_stack, test_for_lambda_metrics_streaming_stack, test_for_lambda_firehose_metric_polling_stack, test_for_lambda_firehose_metric_streaming_stack]
170170
steps:
171171
- name: Checkout code
172172
uses: actions/checkout@v4
@@ -191,69 +191,13 @@ jobs:
191191
role-to-assume: ${{ secrets.AWS_E2E_ROLE }}
192192
aws-region: us-east-1
193193

194-
# - name: Run e2e tests for lambda and metrics stack
195-
# env:
196-
# NEW_RELIC_USER_KEY: ${{ secrets.NEW_RELIC_USER_KEY }}
197-
# NEW_RELIC_LICENSE_KEY: ${{ secrets.NEW_RELIC_LICENSE_KEY }}
198-
# run: |
199-
# cd e2e-tests/
200-
# ./lambda-with-metrics-test.sh ${{ matrix.test-case }}
201-
202-
- name: Run e2e test for lambda firehose stack
203-
env:
204-
NEW_RELIC_USER_KEY: ${{ secrets.NEW_RELIC_USER_KEY }}
205-
NEW_RELIC_LICENSE_KEY: ${{ secrets.NEW_RELIC_LICENSE_KEY }}
206-
run: |
207-
cd e2e-tests/
208-
./lambda-with-metrics-test.sh test_for_lambda_firehose_stack
209-
210-
- name: Run e2e test for firehose metric polling stack
211-
env:
212-
NEW_RELIC_USER_KEY: ${{ secrets.NEW_RELIC_USER_KEY }}
213-
NEW_RELIC_LICENSE_KEY: ${{ secrets.NEW_RELIC_LICENSE_KEY }}
214-
run: |
215-
cd e2e-tests/
216-
./lambda-with-metrics-test.sh test_for_firehose_metric_polling_stack
217-
218-
- name: Run e2e test for firehose metric streaming stack
219-
env:
220-
NEW_RELIC_USER_KEY: ${{ secrets.NEW_RELIC_USER_KEY }}
221-
NEW_RELIC_LICENSE_KEY: ${{ secrets.NEW_RELIC_LICENSE_KEY }}
222-
run: |
223-
cd e2e-tests/
224-
./lambda-with-metrics-test.sh test_for_firehose_metric_streaming_stack
225-
226-
- name: Run e2e test for lambda metrics polling stack
227-
env:
228-
NEW_RELIC_USER_KEY: ${{ secrets.NEW_RELIC_USER_KEY }}
229-
NEW_RELIC_LICENSE_KEY: ${{ secrets.NEW_RELIC_LICENSE_KEY }}
230-
run: |
231-
cd e2e-tests/
232-
./lambda-with-metrics-test.sh test_for_lambda_metrics_polling_stack
233-
234-
- name: Run e2e test for lambda metrics streaming stack
235-
env:
236-
NEW_RELIC_USER_KEY: ${{ secrets.NEW_RELIC_USER_KEY }}
237-
NEW_RELIC_LICENSE_KEY: ${{ secrets.NEW_RELIC_LICENSE_KEY }}
238-
run: |
239-
cd e2e-tests/
240-
./lambda-with-metrics-test.sh test_for_lambda_metrics_streaming_stack
241-
242-
- name: Run e2e test for lambda firehose metric polling stack
243-
env:
244-
NEW_RELIC_USER_KEY: ${{ secrets.NEW_RELIC_USER_KEY }}
245-
NEW_RELIC_LICENSE_KEY: ${{ secrets.NEW_RELIC_LICENSE_KEY }}
246-
run: |
247-
cd e2e-tests/
248-
./lambda-with-metrics-test.sh test_for_lambda_firehose_metric_polling_stack
249-
250-
- name: Run e2e test for lambda firehose metric streaming stack
194+
- name: Run e2e tests for lambda and metrics stack
251195
env:
252196
NEW_RELIC_USER_KEY: ${{ secrets.NEW_RELIC_USER_KEY }}
253197
NEW_RELIC_LICENSE_KEY: ${{ secrets.NEW_RELIC_LICENSE_KEY }}
254198
run: |
255199
cd e2e-tests/
256-
./lambda-with-metrics-test.sh test_for_lambda_firehose_metric_streaming_stack
200+
./lambda-with-metrics-test.sh ${{ matrix.test-case }}
257201
258202
- name: Send failure notification to Slack
259203
if: always()

0 commit comments

Comments
 (0)