Skip to content

Commit 5f8e7d0

Browse files
committed
don't kill all server sessions for the atlas full tests
1 parent 765126d commit 5f8e7d0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.evergreen/run-tests-atlas-full.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ set_env_ruby
1313
bundle_install
1414

1515
ATLAS_URI=$MONGODB_URI \
16-
SERVERLESS=1 \
16+
KILL_ALL_SERVER_SESSIONS=0 \
1717
EXAMPLE_TIMEOUT=600 \
1818
bundle exec rspec -fd spec/integration/search_indexes_prose_spec.rb
1919

spec/support/spec_config.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,8 @@ def ocsp_connectivity?
163163
end
164164

165165
def kill_all_server_sessions?
166-
ClusterConfig.instance.fcv_ish >= '3.6'
166+
allow = ENV['KILL_ALL_SERVER_SESSIONS'] != '0'
167+
allow && ClusterConfig.instance.fcv_ish >= '3.6'
167168
end
168169

169170
# Test suite configuration

0 commit comments

Comments
 (0)