-
Type: Bug
-
Resolution: Done
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: Testing Infrastructure
-
None
-
ALL
./jstests/multiVersion/libs/data_generators.js (function Gen2dIndexOptions) produces bad min/max values for the 2d spatial index and the test is now failing:
m27000| 2014-06-11T14:57:30.025-0400 [conn1] added index to empty collection collection.ensureIndex({"B":"2d"}, {"sparse":true,"expireAfterSeconds":1014,"min":10,"max":10}); assert failed : {"connectionId":1,"err":"region for hash must be valid and have positive area, but [10, 10]was specified","code":72,"n":0,"ok":1} Error: assert failed : {"connectionId":1,"err":"region for hash must be valid and have positive area, but [10, 10]was specified","code":72,"n":0,"ok":1} at Error (<anonymous>) at doassert (src/mongo/shell/assert.js:11:14) at assert (src/mongo/shell/assert.js:20:5) at createCollectionWithData (./jstests/multiVersion/libs/verify_collection_data.js:43:9) at multiVersionDumpRestoreTest (E:\workspace\mongo\./jstests/multiVersion/dumprestore_24.js:47:28) at E:\workspace\mongo\./jstests/multiVersion/dumprestore_24.js:187:5