Skip to content

Commit 4d8fbf8

Browse files
committed
skip snapshot mode
1 parent dec8715 commit 4d8fbf8

File tree

17 files changed

+91
-73
lines changed

17 files changed

+91
-73
lines changed

.github/workflows/update-e2e-tests.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ jobs:
3131
- atlas/datafederation/db
3232
- atlas/datafederation/privatenetwork
3333
- atlas/datafederation/querylimits
34-
# - atlas/decrypt # requires live calls to GCP/AWS/Azure
35-
# - atlas/deployments/atlasclusters # one assertion connects to DB (needs live mode)
36-
# - atlas/deployments/local/auth/deprecated # needs docker to run
37-
# - atlas/deployments/local/auth/new # needs docker to run
38-
# - atlas/deployments/local/nocli # needs docker to run
39-
# - atlas/deployments/local/noauth # needs docker to run
34+
- atlas/decrypt
35+
- atlas/deployments/atlasclusters
36+
- atlas/deployments/local/auth/deprecated
37+
- atlas/deployments/local/auth/new
38+
- atlas/deployments/local/nocli
39+
- atlas/deployments/local/noauth
4040
- atlas/generic
4141
- atlas/interactive
4242
- atlas/ldap
@@ -78,7 +78,6 @@ jobs:
7878
- run: make e2e-test
7979
env:
8080
TEST_CMD: gotestsum --junitfile e2e-tests.xml --format standard-verbose --
81-
E2E_TAGS: e2e
8281
E2E_TEST_PACKAGES: ./test/e2e/{{ matrix.packages }}..
8382
MONGODB_ATLAS_ORG_ID: ${{ secrets.MONGODB_ATLAS_ORG_ID }}
8483
MONGODB_ATLAS_PROJECT_ID: ${{ secrets.MONGODB_ATLAS_PROJECT_ID }}
@@ -137,7 +136,6 @@ jobs:
137136
- run: make e2e-test
138137
env:
139138
TEST_CMD: gotestsum --junitfile e2e-tests.xml --format standard-verbose --
140-
E2E_TAGS: e2e
141139
E2E_TEST_PACKAGES: ./test/internal..
142140
MONGODB_ATLAS_ORG_ID: ${{ secrets.MONGODB_ATLAS_ORG_ID }}
143141
MONGODB_ATLAS_PROJECT_ID: ${{ secrets.MONGODB_ATLAS_PROJECT_ID }}

CONTRIBUTING.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,8 @@ The following is a short list of commands that can be run in the root of the pro
6767
- Run `make` to see a list of available targets.
6868
- Run `make test` to run all unit tests.
6969
- Run `make lint` to validate against our linting rules.
70-
- Run `E2E_TAGS=e2e,atlas make e2e-test` will run end-to-end tests against an Atlas instance,
70+
- Run `make e2e-test` will run end-to-end tests,
7171
please make sure to have set `MCLI_*` variables pointing to that instance.
72-
- Run `E2E_TAGS=cloudmanager,remote,generic make e2e-test` will run end-to-end tests against a Cloud Manager instance.<br />
73-
Please remember to: (a) have a running automation agent, and (b) set MCLI\_\* variables to point to your Cloud Manager instance.
7472
- Run `make build` to generate a local binary in the `./bin` folder.
7573

7674
We provide a git pre-commit hook to format and check the code, to install it run `make link-git-hooks`.

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ DEBUG_FLAGS=all=-N -l
2626

2727
TEST_CMD?=go test
2828
E2E_TEST_PACKAGES?=./test/e2e..
29-
E2E_TAGS?=e2e
3029
E2E_TIMEOUT?=60m
3130
E2E_PARALLEL?=1
3231
E2E_EXTRA_ARGS?=
@@ -175,7 +174,7 @@ build-debug: ## Generate a binary in ./bin for debugging atlascli
175174
e2e-test: build-debug ## Run E2E tests
176175
# the target assumes the MCLI_* environment variables are exported
177176
@echo "==> Running E2E tests..."
178-
$(TEST_CMD) -v -p 1 -parallel $(E2E_PARALLEL) -v -timeout $(E2E_TIMEOUT) -tags="$(E2E_TAGS)" ${E2E_TEST_PACKAGES}. $(E2E_EXTRA_ARGS)
177+
$(TEST_CMD) -v -p 1 -parallel $(E2E_PARALLEL) -v -timeout $(E2E_TIMEOUT) -tags="e2e" ${E2E_TEST_PACKAGES}. $(E2E_EXTRA_ARGS)
179178

180179
.PHONY: e2e-test-snapshots
181180
e2e-test-snapshots: build-debug ## Run E2E tests

0 commit comments

Comments
 (0)