@@ -40,6 +40,9 @@ about the types of tests and how to run them.
40
40
- [ Kerberos Tests] ( #kerberos-tests )
41
41
- [ AWS Authentication tests] ( #aws-authentication-tests )
42
42
- [ Container Tests] ( #container-tests )
43
+ - [ GCP] ( #gcp )
44
+ - [ Azure] ( #azure )
45
+ - [ AWS] ( #aws )
43
46
- [ TODO Special Env Sections] ( #todo-special-env-sections )
44
47
- [ Testing driver changes with mongosh] ( #testing-driver-changes-with-mongosh )
45
48
- [ Point mongosh to the driver] ( #point-mongosh-to-the-driver )
@@ -76,7 +79,7 @@ The actual implementations of the spec tests can be unit tests or integration te
76
79
77
80
## Running the Tests Locally
78
81
79
- The easiest way to get started running the tests locally is to start a standalone server and run all of the tests.
82
+ The easiest way to get started running the tests locally is to start a replica set and run all of the integration tests.
80
83
81
84
Ensure the drivers tools submodule is cloned:
82
85
@@ -85,16 +88,28 @@ git submodule init
85
88
git submodule update
86
89
```
87
90
88
- Start a ` mongod ` standalone with our [ run-orchestration.sh ] ( .evergreen/run-orchestration.sh ) script with the environment set for the cluster :
91
+ Set the ` DRIVERS_TOOLS ` environment variable :
89
92
90
93
``` sh
91
- VERSION=' latest' TOPOLOGY=' server' AUTH=' noauth' ./.evergreen/run-orchestration.sh
94
+ export DRIVERS_TOOLS=< path to driver> /drivers-evergreen-tools
95
+ ```
96
+
97
+ Start a replica set with our [ run-orchestration.sh] ( .evergreen/run-orchestration.sh ) script with the environment set for the cluster:
98
+
99
+ ``` sh
100
+ VERSION=' latest' TOPOLOGY=' replica_set' bash .evergreen/run-orchestration.sh
101
+ ```
102
+
103
+ Load the new cluster's URI into the environment:
104
+
105
+ ``` sh
106
+ source mo-expansion.sh
92
107
```
93
108
94
109
Then run the tests:
95
110
96
111
``` sh
97
- npm test
112
+ npm run check: test
98
113
```
99
114
100
115
> ** Note:** the command above will run a subset of the tests that work with the standalone server topology since the tests are being run against a standalone server.
0 commit comments