• Type: Sub-task
    • Resolution: Done
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: Testing
    • 2
    • Not Needed
    • 🔵 Done
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      This ticket is to track the work required to clean up our test suite.

      tests to be removed:

      • Should correctly apply collection level read Preference to count
      • Should correctly apply collection level read Preference to aggregate
      • Should correctly honor the readPreferences at DB and individual command level
      • Should correctly apply readPreferences specified as objects
      • Should correctly pass readPreferences specified as objects to cursors
      • Should correctly pass readPreferences specified as objects to collection methods
      • should return an error instead of throwing when an empty bulk operation is submitted (with promise)
      • should correctly execute aggregation method using crud api
        • allMethods
      • should correctly execute update methods using crud api
        • legacy update
      • shouldCorrectlyPerformSimpleChainedFind
      • shouldCorrectlyReturnDocumentWithOriginalStructure
      • shouldCorrectlyRetrieveSingleRecord
      • shouldCorrectlyHandleError
      • shouldCorrectlyExecutefindOneAndUpdateUnderConcurrentLoad
      • shouldPerformASimpleLimitSkipFindWithFields2
      • shouldCorrectlyPerformNegativeLimit
      • shouldCorrectlyExecuteExhaustQuery
      • Readpreferences should work fine when using a single server instance
      • shouldCorrectlyDoFindMinMax
      • should execute query using limit of 101
      • should correctly execute crud operations using w:0
      • should correctly execute Collection.prototype.insertOne
      • shouldCorrectlyCallCallbackWithDbDriverInStrictMode
      • shouldCorrectlyInsertUpdateRemoveWithNoOptions
      • shouldCorrectlyExecuteMultipleFetches
      • shouldCorrectlyFailWhenNoObjectToUpdate
      • shouldCorrectlyInsertDocWithCustomId
      • shouldAttempToForceBsonSize
      • shouldExecuteInsertWithNoCallbackAndWriteConcern
      • executesCallbackOnceWithOveriddenDefaultDbWriteConcern
      • executesCallbackOnceWithOveriddenDefaultDbWriteConcernWithUpdate
      • executesCallbackOnceWithOveriddenDefaultDbWriteConcernWithRemove
      • handleBSONTypeInsertsCorrectly
      • shouldCorrectlyHonorPromoteLongFalseJSBSON
      • shouldCorrectlyHonorPromoteLongTrueJSBSON
      • should fail insert due to unique index strict
      • should correctly honor promoteValues when creating an instance using MongoClient
      • should correctly honor promoteValues at cursor level
      • shouldCorrectlyThrowWhenTryingToReOpenConnection
      • should correctly use custom object to update document

       

      AC:

      • all tests listed above should be removed

            Assignee:
            Durran Jordan
            Reporter:
            Sergey Zelenov
            Sergey Zelenov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: