Commit Graph

249 Commits

Author SHA1 Message Date
Spencer T Brody
8a67b153d7 Fix some tests that use benchRun to work with auth 2011-12-05 15:25:36 -05:00
agirbal
81b965f966 made timeout test more verbose, and increased timeout mr_bench 2011-12-05 12:23:35 -08:00
agirbal
a1657326bf SERVER-4382: added timing test for MR 2011-11-29 18:41:26 -08:00
Tad Marshall
94602bb066 SERVER-4006 -- remove duplicates from autocomplete list
The logic comes up with three ways that "prototype" could be a
completion for a function name followed by a period, so just make
sure that we end up with only one in the final list.  Also, convert
tabs to spaces and fix up for code style in shellAutocomplete().
2011-11-28 14:43:21 -05:00
Tad Marshall
e5a54592f1 SERVER-4052 -- case-insensitive command completion in the shell
Provide command completions for partially typed commands without
requiring case-correctness in the partially typed command.  The
completion (replacement) text is always case-correct, it's just
the to-be-replaced text that is now case-insensitive.
2011-11-28 12:29:24 -05:00
Spencer T Brody
f2d426df70 Enable running our full js test suite with authentication. SERVER-4237. 2011-11-09 18:06:10 -05:00
gregs
01a0610e69 jsTest namespace 2011-10-25 16:16:53 -04:00
Tad Marshall
6133ec7139 SERVER-4084 -- spell 'during' correctly
Change "durring" to "during" in an error message.
2011-10-17 05:47:14 -04:00
gregs
5eb65e7d66 don't call db.getLastError() by default without db variable 2011-10-12 23:47:37 -04:00
dwight
23a75f9cf4 fix buildbot; not my breakage :-) 2011-10-12 01:55:02 -04:00
gregs
bef29305f0 string utilities for shell 2011-10-11 12:19:00 -04:00
agirbal
a6bfe26573 - SERVER-2684: special types in shell (e.g. Timestamp) display in variety of ways, and can confuse users 2011-10-07 15:40:13 -07:00
agirbal
1a93a3e7da - SERVER-1507: option as string must be converted to boolean
- SERVER-3629: implementation finished
2011-10-04 23:41:04 -07:00
Greg Studer
4193d05ba7 spidermonkey doesn't have Array.isArray 2011-09-29 19:25:30 -03:00
gregs
38fe35874d auto-reload chunk manager to check version not reset after third staleconfig SERVER-3889 2011-09-29 14:48:17 -04:00
Mathias Stearn
48c0fe0085 More explicit ISODate example 2011-09-26 13:08:39 -04:00
Dwight
31f8305575 Merge branch 'master' of github.com:mongodb/mongo 2011-09-26 09:07:21 -04:00
Dwight
4da8449ee2 shell help isodate 2011-09-26 09:07:14 -04:00
agirbal
8acb9cdcd1 SERVER-1507: add shell syntax 2011-09-25 22:50:48 -07:00
agirbal
ab33a82e25 SERVER-1401: getLastError only called once per line input, if a write op was executed 2011-09-21 13:46:29 -07:00
agirbal
61d496c3dd SERVER-1401: Dont call getLastError if last statement didn't go to server
SERVER-1507: improve output. Also display for inserts.
2011-09-20 23:40:10 -07:00
agirbal
b9d4ce580e SERVER-2031: setSlaveOk at each level in shell 2011-09-20 23:00:36 -07:00
agirbal
30e2b96899 SERVER-1507: moved option at shell level 2011-09-20 15:08:06 -07:00
Dwight
b67fee18f4 help 2011-09-20 16:01:02 -04:00
Eliot Horowitz
a61217961f fix show SERVER-3679 2011-08-29 10:44:16 -04:00
gregs
ec9147aaeb tests for including location in geoNear results 2011-08-04 13:44:30 -04:00
gregs
6bf06f445e don't allow multikey shard indices or array values in shard keys 2011-08-04 12:54:16 -04:00
Kristina
a97a8ef72e added some shell helpers for common replica set problems 2011-08-04 11:35:00 -04:00
gregs
16955912bc allow sharding and rs tests to respect smoke --nopreallocj setting 2011-08-03 17:35:43 -04:00
gregs
53965e6f03 Allow turning off journaling at smoke.py command line to make tests run faster and not preallocate 2011-08-01 12:44:11 -04:00
gregs
05ed9407e3 clean test case SERVER-3471 2011-07-28 14:25:27 -04:00
gregs
d6cce7e211 some test case fixes for SERVER-1726 2011-07-28 14:25:27 -04:00
Eliot Horowitz
0084b65772 fix shell assignment 2011-07-27 13:47:13 -04:00
gregs
3d1a47381a add between assertion to js 2011-07-27 12:37:46 -04:00
Eliot Horowitz
5385a59f6d arrays follow lint rules 2011-07-05 01:39:06 -04:00
Eliot Horowitz
91efa3fcd9 more forgiving assert.eq 2011-07-05 00:46:50 -04:00
Eliot Horowitz
74cd733b1b some NumberInt tests and equality SERVER-854 2011-07-04 18:44:27 -04:00
agirbal
5dcc4f9d49 SERVER-854: NumberInt implemented in SM 2011-07-03 18:47:14 -07:00
agirbal
758a9c7341 removing NumberInt ref until implemented in SM 2011-07-03 01:19:14 -07:00
agirbal
eb5c2318c7 SERVER-854: implementation of NumberInt for V8 2011-07-02 16:01:48 -07:00
Aaron
34c0970db0 cleanups for parallel tests 2011-06-21 22:58:34 -07:00
Kristina
fb7fdf8527 added options arg to rs.reconfig 2011-06-16 13:06:59 -04:00
dannenberg
808a792186 rs.config alias to rs.conf 2011-06-16 11:39:07 -04:00
agirbal
21def6cf94 SERVER-3168: added length() and subtype(). Moved methods from SM layer to utils.js 2011-05-30 10:25:29 -07:00
dwight
284af81234 shell bindata stuff 2011-05-27 00:49:47 -04:00
Eliot Horowitz
9e4087883d put fields into system.profile, not a big string SERVER-3061 2011-05-08 00:53:07 -04:00
Eliot Horowitz
815b995207 more getLog work
show logs
show log helpers in shell
2011-05-02 15:01:52 -04:00
Mathias Stearn
ef373aa1de remove whitespace before trailing ; in shell helpers SERVER-3001
This was causing issues when someone typed "use some_db ;" into the shell
2011-05-02 13:28:11 -04:00
dwight
1369f8f3c4 more shell help - feel free to add more! 2011-04-12 18:53:58 -04:00
Mathias Stearn
a1689f6847 show private vars in completion when starting with _ 2011-04-04 12:47:59 -04:00