<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:02:19 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[CXX-1339] Write additional collation integration tests</title>
                <link>https://jira.mongodb.org/browse/CXX-1339</link>
                <project id="11980" key="CXX">C++ Driver</project>
                    <description>&lt;p&gt;The &lt;a href=&quot;https://github.com/mongodb/specifications/blob/master/source/collation/collation.rst#test-plan&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;collation spec&lt;/a&gt; mandates that drivers write the following test as part of implementing the Collation spec.  The C++ driver currently lacks this test.&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;&quot;... drivers should test that two indexes can be created with identical key patterns and different collations. A custom name must be provided for one of them. Then, the test should ensure that the correct index is dropped when delete_one is called with an index name.&quot;&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;I also recommend writing the following integration tests (these are not mandated by the spec, though having them would increase our confidence that there are no issues in our integration with the C driver, and would help prevent later regressions in spec compliance):&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Test that a bulk write will fail if the server has maxWireVersion &amp;lt; 5 and any contained write specifies a collation.  This is logic implemented in the C driver, and currently the C++ driver tests this indirectly via the CRUD tests, but the driver lacks tests for this condition that specifically target bulk writes.  See comment referencing &quot;model::delete_one&quot; at &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-1269&quot; title=&quot;Audit driver against Collation spec&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-1269&quot;&gt;&lt;del&gt;CXX-1269&lt;/del&gt;&lt;/a&gt;.&lt;/li&gt;
	&lt;li&gt;Test that unacknowledged deletes and updates will fail when a collation is specified.  This is logic implemented in the C driver, and the C++ driver currently does not test this condition.  See comment referencing &quot;Database operations for update / delete (via both CRUD methods and write models) must fail&quot; at &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-1269&quot; title=&quot;Audit driver against Collation spec&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-1269&quot;&gt;&lt;del&gt;CXX-1269&lt;/del&gt;&lt;/a&gt;.&lt;/li&gt;
	&lt;li&gt;Test that mongocxx::database::run_command() succeeds when the command document specifies a &quot;collation&quot; field and the server&apos;s maxWireVersion is &amp;lt; 5.  See comment referencing &quot;mongocxx::database::run_command()&quot; at &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-1269&quot; title=&quot;Audit driver against Collation spec&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-1269&quot;&gt;&lt;del&gt;CXX-1269&lt;/del&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;/ol&gt;
</description>
                <environment></environment>
        <key id="383561">CXX-1339</key>
            <summary>Write additional collation integration tests</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="patrick.freed@mongodb.com">Patrick Freed</assignee>
                                    <reporter username="rassi">J Rassi</reporter>
                        <labels>
                            <label>neweng</label>
                    </labels>
                <created>Mon, 15 May 2017 15:14:18 +0000</created>
                <updated>Fri, 11 Aug 2017 02:31:58 +0000</updated>
                            <resolved>Mon, 24 Jul 2017 15:06:39 +0000</resolved>
                                                    <fixVersion>3.2.0-rc0</fixVersion>
                                    <component>API</component>
                    <component>Testing</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="1630041" author="xgen-internal-githook" created="Mon, 24 Jul 2017 15:04:58 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;patrickfreed&apos;, u&apos;name&apos;: u&apos;Patrick Freed&apos;, u&apos;email&apos;: u&apos;fridpatrick@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-1339&quot; title=&quot;Write additional collation integration tests&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-1339&quot;&gt;&lt;del&gt;CXX-1339&lt;/del&gt;&lt;/a&gt; Write additional collation integration tests&lt;br/&gt;
Some fixes to the tests for older server versions.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver/commit/f1abd8e47b1c7830f0884978c99d79f4e55a2a3d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-cxx-driver/commit/f1abd8e47b1c7830f0884978c99d79f4e55a2a3d&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1617964" author="xgen-internal-githook" created="Mon, 10 Jul 2017 18:06:13 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;patrickfreed&apos;, u&apos;name&apos;: u&apos;Patrick Freed&apos;, u&apos;email&apos;: u&apos;fridpatrick@gmail.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-1339&quot; title=&quot;Write additional collation integration tests&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-1339&quot;&gt;&lt;del&gt;CXX-1339&lt;/del&gt;&lt;/a&gt; Write additional collation integration tests&lt;/p&gt;

&lt;p&gt;Also fixes omission of write concern option in find_one_and_update and incorrect type for wtimeout in document conversion.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver/commit/ab18171b13eb4286eda8c78cd1a97bcde43a9f75&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-cxx-driver/commit/ab18171b13eb4286eda8c78cd1a97bcde43a9f75&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="366249">CXX-1269</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr9nwv:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>