Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-2976

Remove deprecated field from GridFS unified tests

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Component/s: GridFS
    • None
    • Not Needed

      Summary

      The unified spec test "upload when contentType is provided" tests a field that is deprecated and that need to be removed (see DRIVERS-2656). This test need to be removed or replaced by a test adding the content type as a "metadata".

      Additionally, all the fixtures data contain the fields "md5", "contentType" and "aliases". This fields are removed from the implementation, they need to be removed from the data.

      Motivation

      Who is the affected end user?

      Developers of GridFS implementations

      How does this affect the end user?

      We don't test the download and delete features on files identical to those we create.

      How likely is it that this problem or use case will occur?

      Blocking DRIVERS-2656, unless the test is skipped.

      If the problem does occur, what are the consequences and how severe are they?

      -

      Is this issue urgent?

      no

      Is this ticket required by a downstream team?

      Yes

      Is this ticket only for tests?

      Unified tests only

      Acceptance Criteria

      The unified tests must be compatible with a GridFS implementation without the fields md5, contentType and aliases.

            Assignee:
            andreas.braun@mongodb.com Andreas Braun
            Reporter:
            jerome.tamarelle@mongodb.com Jérôme Tamarelle
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: