Skip to content

Commit daeee5f

Browse files
author
Divjot Arora
committed
Revert "Automate Atlas connectivity tests"
This reverts commit d6e3a0c. Reason for revert: go vet failure Change-Id: Iae6475878b0b2e033122b5536df5a40d558f5280
1 parent d6e3a0c commit daeee5f

File tree

3 files changed

+0
-113
lines changed

3 files changed

+0
-113
lines changed

.evergreen/config.yml

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -326,37 +326,6 @@ functions:
326326
export PATH="${GCC_PATH}:${GO_DIST}/bin:$PATH"
327327
MONGO_GO_DRIVER_COMPRESSOR="${MONGO_GO_DRIVER_COMPRESSOR}" make -s evg-test-auth
328328
329-
run-atlas-test:
330-
- command: shell.exec
331-
type: test
332-
params:
333-
working_dir: src/go.mongodb.org/mongo-driver
334-
script: |
335-
# DO NOT ECHO WITH XTRACE (which PREPARE_SHELL does)
336-
if [ "Windows_NT" = "$OS" ]; then
337-
export GOPATH=$(cygpath -w $(dirname $(dirname $(dirname `pwd`))))
338-
export GOCACHE=$(cygpath -w "$(pwd)/.cache")
339-
else
340-
export GOPATH=$(dirname $(dirname $(dirname `pwd`)))
341-
export GOCACHE="$(pwd)/.cache"
342-
fi;
343-
export GOPATH="$GOPATH"
344-
export GOROOT="${GO_DIST}"
345-
export GOCACHE="$GOCACHE"
346-
export PATH="${GCC_PATH}:${GO_DIST}/bin:$PATH"
347-
export ATLAS_FREE="${atlas_free_tier_uri}"
348-
export ATLAS_REPLSET="${atlas_replica_set_uri}"
349-
export ATLAS_SHARD="${atlas_sharded_uri}"
350-
export ATLAS_TLS11="${atlas_tls_v11_uri}"
351-
export ATLAS_TLS12="${atlas_tls_v12_uri}"
352-
export ATLAS_FREE_SRV="${atlas_free_tier_uri_srv}"
353-
export ATLAS_REPLSET_SRV="${atlas_replica_set_uri_srv}"
354-
export ATLAS_SHARD_SRV="${atlas_sharded_uri_srv}"
355-
export ATLAS_TLS11_SRV="${atlas_tls_v11_uri_srv}"
356-
export ATLAS_TLS12_SRV="${atlas_tls_v12_uri_srv}"
357-
make -s evg-test-atlas
358-
359-
360329
pre:
361330
- func: fetch-source
362331
- func: prepare-resources
@@ -686,10 +655,6 @@ tasks:
686655
targets: "build"
687656
BUILD_ENV: "GOARCH=ppc64le"
688657

689-
- name: "atlas-test"
690-
commands:
691-
- func: "run-atlas-test"
692-
693658
axes:
694659
- id: version
695660
display_name: MongoDB Version
@@ -788,15 +753,6 @@ buildvariants:
788753
tasks:
789754
- name: ".compile-check"
790755

791-
- name: atlas-test
792-
display_name: "Atlas test"
793-
run_on:
794-
- ubuntu1604-build
795-
expansions:
796-
GO_DIST: "/opt/golang/go1.12"
797-
tasks:
798-
- name: "atlas-test"
799-
800756
- matrix_name: "tests-legacy-auth-ssl"
801757
matrix_spec: { version: ["2.6", "3.0"], os-ssl-legacy: "*" }
802758
display_name: "${version} ${os-ssl-legacy}"

Makefile

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ EXAMPLES_PKGS = $(shell etc/list_pkgs.sh ./examples)
1010
EXAMPLES_TEST_PKGS = $(shell etc/list_test_pkgs.sh ./examples)
1111
PKGS = $(BSON_PKGS) $(MONGO_PKGS) $(UNSTABLE_PKGS) $(TAG_PKG) $(EXAMPLES_PKGS)
1212
TEST_PKGS = $(BSON_TEST_PKGS) $(MONGO_TEST_PKGS) $(UNSTABLE_TEST_PKGS) $(TAG_PKG) $(EXAMPLES_TEST_PKGS)
13-
ATLAS_URIS = "$(ATLAS_FREE)" "$(ATLAS_REPLSET)" "$(ATLAS_SHARD)" "$(ATLAS_TLS11)" "$(ATLAS_TLS12)" "$(ATLAS_FREE_SRV)" "$(ATLAS_REPLSET_SRV)" "$(ATLAS_SHARD_SRV)" "$(ATLAS_TLS11_SRV)" "$(ATLAS_TLS12_SRV)"
1413

1514
TEST_TIMEOUT = 600
1615

@@ -126,10 +125,6 @@ evg-test:
126125
evg-test-auth:
127126
go run -tags gssapi ./x/mongo/driver/examples/count/main.go -uri $(MONGODB_URI)
128127

129-
.PHONY: evg-test-atlas
130-
evg-test-atlas:
131-
go run ./mongo/testatlas/main.go $(ATLAS_URIS)
132-
133128
# benchmark specific targets and support
134129
perf:driver-test-data.tar.gz
135130
tar -zxf $< $(if $(eq $(UNAME_S),Darwin),-s , --transform=s)/data/perf/

mongo/testatlas/main.go

Lines changed: 0 additions & 64 deletions
This file was deleted.

0 commit comments

Comments
 (0)