File tree Expand file tree Collapse file tree 2 files changed +12
-28
lines changed
tests/AtlasConnectivity.Tests Expand file tree Collapse file tree 2 files changed +12
-28
lines changed Original file line number Diff line number Diff line change @@ -108,12 +108,7 @@ functions:
108
108
script : |
109
109
${PREPARE_SHELL}
110
110
rm -rf $DRIVERS_TOOLS
111
- if [ "${project}" = "drivers-tools" ]; then
112
- # If this was a patch build, doing a fresh clone would not actually test the patch
113
- cp -R ${PROJECT_DIRECTORY}/ $DRIVERS_TOOLS
114
- else
115
- git clone https://github.com/mongodb-labs/drivers-evergreen-tools.git $DRIVERS_TOOLS
116
- fi
111
+ git clone https://github.com/mongodb-labs/drivers-evergreen-tools.git $DRIVERS_TOOLS
117
112
echo "{ \"releases\": { \"default\": \"$MONGODB_BINARIES\" }}" > $MONGO_ORCHESTRATION_HOME/orchestration.config
118
113
119
114
# Upload build artifacts that other tasks may depend on
@@ -463,22 +458,10 @@ functions:
463
458
- command : shell.exec
464
459
type : test
465
460
params :
466
- silent : true
461
+ shell : " bash "
467
462
working_dir : mongo-csharp-driver
468
- include_expansions_in_env :
469
- - " ATLAS_FREE"
470
- - " ATLAS_FREE_SRV"
471
- - " ATLAS_REPLICA"
472
- - " ATLAS_REPLICA_SRV"
473
- - " ATLAS_SHARDED"
474
- - " ATLAS_SHARDED_SRV"
475
- - " ATLAS_TLS11"
476
- - " ATLAS_TLS11_SRV"
477
- - " ATLAS_TLS12"
478
- - " ATLAS_TLS12_SRV"
479
- - " ATLAS_SERVERLESS"
480
- - " ATLAS_SERVERLESS_SRV"
481
463
script : |
464
+ . ${DRIVERS_TOOLS}/.evergreen/secrets_handling/setup-secrets.sh drivers/atlas_connect
482
465
. evergreen/run-atlas-connectivity-tests.sh
483
466
484
467
run-gssapi-auth-tests :
@@ -1282,6 +1265,7 @@ tasks:
1282
1265
1283
1266
- name : atlas-connectivity-tests
1284
1267
commands :
1268
+ - func : assume-ec2-role
1285
1269
- func : run-atlas-connectivity-tests
1286
1270
1287
1271
- name : test-gssapi
Original file line number Diff line number Diff line change @@ -34,18 +34,18 @@ public ConnectivityTests(ITestOutputHelper testOutputHelper)
34
34
35
35
// public methods
36
36
[ Theory ]
37
+ [ InlineData ( "ATLAS_REPL" ) ]
38
+ [ InlineData ( "ATLAS_SHRD" ) ]
37
39
[ InlineData ( "ATLAS_FREE" ) ]
38
- [ InlineData ( "ATLAS_FREE_SRV" ) ]
39
- [ InlineData ( "ATLAS_REPLICA" ) ]
40
- [ InlineData ( "ATLAS_REPLICA_SRV" ) ]
41
- [ InlineData ( "ATLAS_SHARDED" ) ]
42
- [ InlineData ( "ATLAS_SHARDED_SRV" ) ]
43
40
[ InlineData ( "ATLAS_TLS11" ) ]
44
- [ InlineData ( "ATLAS_TLS11_SRV" ) ]
45
41
[ InlineData ( "ATLAS_TLS12" ) ]
46
- [ InlineData ( "ATLAS_TLS12_SRV" ) ]
47
42
[ InlineData ( "ATLAS_SERVERLESS" ) ]
48
- [ InlineData ( "ATLAS_SERVERLESS_SRV" ) ]
43
+ [ InlineData ( "ATLAS_SRV_REPL" ) ]
44
+ [ InlineData ( "ATLAS_SRV_SHRD" ) ]
45
+ [ InlineData ( "ATLAS_SRV_FREE" ) ]
46
+ [ InlineData ( "ATLAS_SRV_TLS11" ) ]
47
+ [ InlineData ( "ATLAS_SRV_TLS12" ) ]
48
+ [ InlineData ( "ATLAS_SRV_SERVERLESS" ) ]
49
49
public void Connection_to_Atlas_should_work ( string environmentVariableName )
50
50
{
51
51
var connectionString = Environment . GetEnvironmentVariable ( environmentVariableName ) ;
You can’t perform that action at this time.
0 commit comments