Missing support for fsync in connection uri

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • 1.7.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      diff --git a/tests/json/connection_uri/valid-warnings.json b/tests/json/connection_uri/valid-warnings.json
      index 6775fae..a0d5552 100644
      --- a/tests/json/connection_uri/valid-warnings.json
      +++ b/tests/json/connection_uri/valid-warnings.json
      @@ -16,21 +16,6 @@
             "options": null
           },
           {
      -      "description": "Unsupported option values are ignored",
      -      "uri": "mongodb://example.com/?fsync=ifPossible",
      -      "valid": true,
      -      "warning": true,
      -      "hosts": [
      -        {
      -          "type": "hostname",
      -          "host": "example.com",
      -          "port": null
      -        }
      -      ],
      -      "auth": null,
      -      "options": null
      -    },
      -    {
             "description": "Repeated option keys",
             "uri": "mongodb://example.com/?replicaSet=test&replicaSet=test",
             "valid": true,
      @@ -65,4 +50,4 @@
             }
           }
         ]
      -}
      \ No newline at end of file
      +}
      

      This test is failing because we don't support fsync in the connection URI. Should we? This might be a spec test bug

            Assignee:
            Hannes Magnusson (Inactive)
            Reporter:
            Hannes Magnusson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: