summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlake Oler <blake.oler@mongodb.com>2019-11-21 21:35:43 +0000
committerevergreen <evergreen@mongodb.com>2019-11-21 21:35:43 +0000
commitda88c83317eb298dad14c834140ce39fb63ff6d5 (patch)
tree0630082fff57beef7232bda6d04ce5d95afff4e4
parenta29b23f30cfe877160993d0ee1646e28939a1da6 (diff)
downloadmongo-da88c83317eb298dad14c834140ce39fb63ff6d5.tar.gz
SERVER-43526 Re-enable commented test case in restart_transactions.js
-rw-r--r--jstests/sharding/restart_transactions.js13
1 files changed, 5 insertions, 8 deletions
diff --git a/jstests/sharding/restart_transactions.js b/jstests/sharding/restart_transactions.js
index d1f505b1d9c..ddebf3ea501 100644
--- a/jstests/sharding/restart_transactions.js
+++ b/jstests/sharding/restart_transactions.js
@@ -157,15 +157,12 @@ const shardDB = shardSession.getDatabase(shardDBName);
runTest(st.s.getDB(shardDBName), shardDB);
-// TODO SERVER-36632: Consider allowing commands in a transaction to run against the config or
-// admin databases, excluding special collections.
-//
// Directly connect to the config sever primary to simulate internal retries by mongos.
-// const configDBName = "config";
-// const configSession = st.configRS.getPrimary().startSession({causalConsistency: false});
-// const configDB = configSession.getDatabase(configDBName);
-//
-// runTest(st.s.getDB(configDBName), configDB);
+const configDBName = "config";
+const configSession = st.configRS.getPrimary().startSession({causalConsistency: false});
+const configDB = configSession.getDatabase(configDBName);
+
+runTest(st.s.getDB(configDBName), configDB);
st.stop();
})();