File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ DEBUG_FLAGS=all=-N -l
26
26
27
27
TEST_CMD? =go test
28
28
UNIT_TAGS? =unit
29
+ E2E_TEST_PACKAGES? =./test/e2e..
29
30
E2E_TAGS? =e2e
30
31
E2E_TIMEOUT? =60m
31
32
E2E_PARALLEL? =1
@@ -162,11 +163,11 @@ build-debug: ## Generate a binary in ./bin for debugging atlascli
162
163
e2e-test : build-debug # # Run E2E tests
163
164
# the target assumes the MCLI_* environment variables are exported
164
165
@echo "==> Running E2E tests..."
165
- $(TEST_CMD) -v -p 1 -parallel $(E2E_PARALLEL) -v -timeout $(E2E_TIMEOUT) -tags="$(E2E_TAGS)" ./test/e2e.. . $(E2E_EXTRA_ARGS)
166
+ $(TEST_CMD) -v -p 1 -parallel $(E2E_PARALLEL) -v -timeout $(E2E_TIMEOUT) -tags="$(E2E_TAGS)" ${E2E_TEST_PACKAGES} . $(E2E_EXTRA_ARGS)
166
167
167
168
.PHONY : e2e-test-snapshots
168
169
e2e-test-snapshots : build-debug # # Run E2E tests
169
- UPDATE_SNAPSHOTS=false E2E_SKIP_CLEANUP=true DO_NOT_TRACK=1 $(TEST_CMD ) -v -timeout $(E2E_TIMEOUT ) -tags=" e2eSnap" ./test/e2e.. . $(E2E_EXTRA_ARGS )
170
+ UPDATE_SNAPSHOTS=false E2E_SKIP_CLEANUP=true DO_NOT_TRACK=1 $(TEST_CMD ) -v -timeout $(E2E_TIMEOUT ) -tags=" e2eSnap" ${E2E_TEST_PACKAGES} . $(E2E_EXTRA_ARGS )
170
171
171
172
.PHONY : unit-test
172
173
unit-test : build-debug # # Run unit-tests
Original file line number Diff line number Diff line change @@ -122,6 +122,7 @@ functions:
122
122
- MONGODB_ATLAS_PRIVATE_API_KEY
123
123
- MONGODB_ATLAS_SERVICE
124
124
- TEST_CMD
125
+ - E2E_TEST_PACKAGES
125
126
- E2E_TAGS
126
127
- E2E_TEST_BUCKET
127
128
- E2E_CLOUD_ROLE_ID
@@ -1474,6 +1475,7 @@ tasks:
1474
1475
MONGODB_ATLAS_OPS_MANAGER_URL : ${mcli_ops_manager_url}
1475
1476
MONGODB_ATLAS_SERVICE : cloud
1476
1477
E2E_TAGS : atlas,cleanup
1478
+ E2E_TEST_PACKAGES : ./test/internal..
1477
1479
E2E_PARALLEL : 16
1478
1480
E2E_TIMEOUT : 3h
1479
1481
- name : atlas_gov_cleanup_e2e
@@ -1497,6 +1499,7 @@ tasks:
1497
1499
MONGODB_ATLAS_OPS_MANAGER_URL : ${mcli_cloud_gov_ops_manager_url}
1498
1500
MONGODB_ATLAS_SERVICE : cloudgov
1499
1501
E2E_TAGS : atlas,cleanup
1502
+ E2E_TEST_PACKAGES : ./test/internal..
1500
1503
E2E_TIMEOUT : 3h
1501
1504
E2E_PARALLEL : 16
1502
1505
- name : atlas_deployments_atlas_clusters_e2e
You can’t perform that action at this time.
0 commit comments