summaryrefslogtreecommitdiff
path: root/jstests/noPassthrough/configExpand_exec_timeeout.js
diff options
context:
space:
mode:
authorclang-format-7.0.1 <adam.martin@10gen.com>2019-07-26 18:20:35 -0400
committerADAM David Alan Martin <adam.martin@10gen.com>2019-07-27 11:02:23 -0400
commit134a4083953270e8a11430395357fb70a29047ad (patch)
treedd428e1230e31d92b20b393dfdc17ffe7fa79cb6 /jstests/noPassthrough/configExpand_exec_timeeout.js
parent1e46b5049003f427047e723ea5fab15b5a9253ca (diff)
downloadmongo-134a4083953270e8a11430395357fb70a29047ad.tar.gz
SERVER-41772 Apply clang-format 7.0.1 to the codebase
Diffstat (limited to 'jstests/noPassthrough/configExpand_exec_timeeout.js')
-rw-r--r--jstests/noPassthrough/configExpand_exec_timeeout.js48
1 files changed, 24 insertions, 24 deletions
diff --git a/jstests/noPassthrough/configExpand_exec_timeeout.js b/jstests/noPassthrough/configExpand_exec_timeeout.js
index 1a20d6fbc63..bf9d0cc4de7 100644
--- a/jstests/noPassthrough/configExpand_exec_timeeout.js
+++ b/jstests/noPassthrough/configExpand_exec_timeeout.js
@@ -1,33 +1,33 @@
// Test config file expansion using EXEC.
(function() {
- 'use strict';
+'use strict';
- load('jstests/noPassthrough/libs/configExpand/lib.js');
+load('jstests/noPassthrough/libs/configExpand/lib.js');
- assert.eq(runNonMongoProgram.apply(null, makeReflectionCmd('12345', {sleep: 0}).split(" ")), 0);
+assert.eq(runNonMongoProgram.apply(null, makeReflectionCmd('12345', {sleep: 0}).split(" ")), 0);
- // Sleep 10 seconds during request.
- configExpandSuccess({
- setParameter: {
- scramIterationCount: {__exec: makeReflectionCmd('12345', {sleep: 10})},
- }
- });
+// Sleep 10 seconds during request.
+configExpandSuccess({
+ setParameter: {
+ scramIterationCount: {__exec: makeReflectionCmd('12345', {sleep: 10})},
+ }
+});
- // Sleep 40 seconds during request, with default 30 second timeout.
- configExpandFailure({
- setParameter: {
- scramIterationCount: {__exec: makeReflectionCmd('12345', {sleep: 40})},
- }
- },
- /Timeout expired/);
+// Sleep 40 seconds during request, with default 30 second timeout.
+configExpandFailure({
+ setParameter: {
+ scramIterationCount: {__exec: makeReflectionCmd('12345', {sleep: 40})},
+ }
+},
+ /Timeout expired/);
- // Sleep 10 seconds during request, with custom 5 second timeout.
- configExpandFailure({
- setParameter: {
- scramIterationCount: {__exec: makeReflectionCmd('12345', {sleep: 10})},
- }
- },
- /Timeout expired/,
- {configExpandTimeoutSecs: 5});
+// Sleep 10 seconds during request, with custom 5 second timeout.
+configExpandFailure({
+ setParameter: {
+ scramIterationCount: {__exec: makeReflectionCmd('12345', {sleep: 10})},
+ }
+},
+ /Timeout expired/,
+ {configExpandTimeoutSecs: 5});
})();