Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-5423

Remove deprecated field from GridFS unified tests

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 3.2.0
    • Affects Version/s: None
    • Component/s: GridFS
    • None
    • Hide

      Spec tests for the GridFS spec have been updated to no longer include the deprecated md5, contentType, and aliases fields. The tests in question don't assert driver behaviour but only include values in the initial documents, which are then re-used in outcome assertions.

      Additionally, a test verifying that a contentType provided during an upload operation is correctly stored in the document. If your driver still supports this deprecated field, you will want to keep this particular test around until the behaviour is removed.

      To update, sync the gridfs spec tests to commit 12be2dfab99bdad54c3499174b0519ddb4588332.

      Show
      Spec tests for the GridFS spec have been updated to no longer include the deprecated md5 , contentType , and aliases fields. The tests in question don't assert driver behaviour but only include values in the initial documents, which are then re-used in outcome assertions. Additionally, a test verifying that a contentType provided during an upload operation is correctly stored in the document. If your driver still supports this deprecated field, you will want to keep this particular test around until the behaviour is removed. To update, sync the gridfs spec tests to commit 12be2dfab99bdad54c3499174b0519ddb4588332 .
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      This ticket was split from DRIVERS-2976, please see that ticket for a detailed description.

            Assignee:
            ferdinando.papale@mongodb.com Ferdinando Papale
            Reporter:
            dbeng-pm-bot PM Bot
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: