<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:34:24 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>[GODRIVER-526] Fix command monitoring assertions in tests</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-526</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;p&gt;The command monitoring event checking code in our spec test runners skips over the &quot;ordered&quot;, &quot;cursor&quot;, and &quot;batchSize&quot; keys (&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/blob/1c6ce243313adea74223d6f14539f18d938b5aa1/mongo/integration/cmd_monitoring_helpers_test.go#L265&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/blob/1c6ce243313adea74223d6f14539f18d938b5aa1/mongo/integration/cmd_monitoring_helpers_test.go#L265&lt;/a&gt;). We should go through these keys and see if we can change the code for the relevant CRUD functions that would not cause behavioral changes but would allow us to un-skip these keys.&lt;/p&gt;

&lt;p&gt;EDIT: There were some code changes required to unskip these keys:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;The InsertOne/InsertMany, UpdateOne/UpdateMany, ReplaceOne, and DeleteOne/DeleteMany helpers now send an explicit ordered:true field in their command. This should have no behavioral changes.&lt;/li&gt;
	&lt;li&gt;A BatchSize option was added for the ListCollections helper.&lt;/li&gt;
&lt;/ol&gt;
</description>
                <environment></environment>
        <key id="589462">GODRIVER-526</key>
            <summary>Fix command monitoring assertions in tests</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="13201">Fixed</resolution>
                                        <assignee username="divjot.arora@mongodb.com">Divjot Arora</assignee>
                                    <reporter username="roland.fong">Roland Fong</reporter>
                        <labels>
                    </labels>
                <created>Thu, 16 Aug 2018 17:46:30 +0000</created>
                <updated>Sat, 28 Oct 2023 11:39:28 +0000</updated>
                            <resolved>Tue, 25 Aug 2020 14:27:10 +0000</resolved>
                                                    <fixVersion>1.5.0</fixVersion>
                                    <component>CRUD</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="3357796" author="xgen-internal-githook" created="Tue, 25 Aug 2020 14:26:57 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Divjot Arora&apos;, &apos;email&apos;: &apos;divjot.arora@10gen.com&apos;, &apos;username&apos;: &apos;divjotarora&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-526&quot; title=&quot;Fix command monitoring assertions in tests&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-526&quot;&gt;&lt;del&gt;GODRIVER-526&lt;/del&gt;&lt;/a&gt; Unskip keys in command monitoring assertions (#482)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/commit/e51b43f1844c0673aaafe4e2f6748e154300b071&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/commit/e51b43f1844c0673aaafe4e2f6748e154300b071&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3339638" author="divjot.arora" created="Fri, 14 Aug 2020 16:13:53 +0000"  >&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/pull/482&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/pull/482&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <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|hxd60v:</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>