Commit Graph

22 Commits

Author SHA1 Message Date
Steve McClure
1ffbc6c2e9 SERVER-109432: Autofix JS var usage to favor let (#40637)
GitOrigin-RevId: 9674b7db36a0f3f650d39c1e3fb2ad6ff2141cfb
2025-08-28 19:21:01 +00:00
Zac
591928c619 SERVER-108478 JS formatted by prettier and remove clang-format (#39656)
GitOrigin-RevId: 6c8f6aded47f260aa4f7c231b17dae3302cb1e04
2025-08-21 17:27:09 +00:00
Meryama
68046338de SERVER-87990 Remove autoIndexId option from createCommand (#31910)
GitOrigin-RevId: 90620dced4c31597a822a2b5eec049d8f7452c66
2025-04-10 03:00:14 +00:00
Matt Broadstone
43b8732430 SERVER-74787 Prepare jstest corpus for implicit strict mode 2023-05-07 16:55:23 +00:00
Rishab Joshi
4329ffafa3 SERVER-50442 Remove ensureIndex shell function
This commit replaces all the usages of ensureIndex() with createIndex() in JS tests and JS shell""
2020-11-17 14:23:10 +00:00
Arun Banala
7c196029e8 Revert "SERVER-50442 Remove ensureIndex shell function This commit also replaces all the usages of ensureIndex() with createIndex() in JS tests and JS shell"
This reverts commit e69c967ff8.
2020-11-12 18:15:38 +00:00
Rishab Joshi
e69c967ff8 SERVER-50442 Remove ensureIndex shell function This commit also replaces all the usages of ensureIndex() with createIndex() in JS tests and JS shell 2020-11-12 10:38:50 +00:00
Mihai Andrei
9f2dbad788 SERVER-47081 Disallow creation of haystack indexes and verify that haystack indexes are maintained in mixed version clusters 2020-11-11 23:00:49 +00:00
clang-format-7.0.1
134a408395 SERVER-41772 Apply clang-format 7.0.1 to the codebase 2019-07-27 11:02:23 -04:00
Sara Golemon
3ee00dd0e8 SERVER-15194 Refactor base64::decode Implementation
Unrevert 4b222edf45 and
Fix random base64 generation in test helper

The good news is that the changes to base64::decode()
did exactly what they were intended to do.
The bad news is that data_generators.js was producing
invalid base64 sequences when (length % 4) == 1.
2017-07-07 11:42:28 -04:00
Robert Guo
b2bca3948f SERVER-27107 remove or modify tests unrelated to the 3.4->3.6 upgrade path 2016-12-14 11:26:18 -05:00
Mark Benvenuto
6dcdd23dd3 SERVER-23971 Clang-Format code 2016-05-28 17:55:12 -04:00
Jonathan Abrahams
4ae691e8ed SERVER-22468 Format JS code with approved style in jstests/ 2016-03-09 12:18:14 -05:00
Mike Grundy
2689df80fa SERVER-22341 fix jslint errors in jstests/multiVersion with eslint --fix 2016-02-05 15:00:50 -05:00
Kamran Khan
5d76623abc SERVER-20098 Fix duplicate property definition in multiVersion test helper
Previously, only regex literals were tested due to the duplicate definition.
Now, regex literals and regex objects are tested.
2015-08-26 00:34:12 -04:00
Shaun Verch
2326733efd SERVER-14229 Do not generate bad 2d index options in multiversion dumprestore test helper 2014-06-11 18:12:22 -04:00
daveh86
0e224f9a0f SERVER-10177 Remove all Js instances of "throw 'string';" with "throw Error();"
Includes both the initial patch to remove all throws and patches for all failing tests

Signed-off-by: Benety Goh <benety@mongodb.com>
2014-05-22 09:17:09 -04:00
Jason Rassi
ecda90ce4a SERVER-12175 Add 2dsphere index option "2dsphereIndexVersion"
- Defines version 1 and 2; both are supported.
- Indexes without this option are assumed to be version 1.
- New builds get version 2 (if version unspecified).
- Version 1 throws in getKeys if the geometry is one of the types
  introduced since 2.4.0 (MultiPoint, MultiLineString, MultiPolygon,
  GeometryCollection).
2014-02-15 13:56:12 -05:00
Shaun Verch
e42c285567 SERVER-12092 Uncommented no longer failing test 2014-02-12 13:29:32 -05:00
Shaun Verch
640a450f0d Updated comment with correct version references 2014-01-23 14:57:57 -08:00
Shaun Verch
29f796ddd8 Explicitly set usePowerOf2Sizes 2014-01-23 14:43:53 -08:00
Shaun Verch
92cf0713b7 Multiversion testing for mongodump and mongorestore 2014-01-22 17:33:29 -08:00