Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-14229

multiversion test dumprestore_24.js is failing because of bad test data

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.7.2
    • Affects Version/s: None
    • Component/s: Testing Infrastructure
    • Labels:
      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
      

            Assignee:
            sverch Shaun Verch
            Reporter:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: