Skip to content

Commit

Permalink
test: remove legacy code for no longer existant server bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mbroadst committed Oct 15, 2019
1 parent 7b8dcbf commit 8a4de3f
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions test/runner/config.js
Expand Up @@ -168,25 +168,6 @@ class NativeConfiguration {

return { w: 1 };
}

// server37631Workaround() {
// console.log('[applying SERVER-37631 workaround]');
// const configServers = this.manager.configurationServers.managers;
// const proxies = this.manager.proxies;
// const configServersPromise = configServers.reduce((result, server) => {
// return result.then(() =>
// server.executeCommand('admin.$cmd', { refreshLogicalSessionCacheNow: 1 })
// );
// }, Promise.resolve());

// return configServersPromise.then(() => {
// return proxies.reduce((promise, proxy) => {
// return promise.then(() =>
// proxy.executeCommand('admin.$cmd', { refreshLogicalSessionCacheNow: 1 })
// );
// }, Promise.resolve());
// });
// }
}

module.exports = NativeConfiguration;

0 comments on commit 8a4de3f

Please sign in to comment.