<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:04: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>[CXX-1940] spec tests that run count should not use estimated count helper</title>
                <link>https://jira.mongodb.org/browse/CXX-1940</link>
                <project id="11980" key="CXX">C++ Driver</project>
                    <description>&lt;p&gt;This method is meant to be used to test the count command, but it cannot take a filter or a session.&#160; Change the C++ driver&apos;s spec test runner to simply run the count command for spec tests instead of running them through this helper method.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1145151">CXX-1940</key>
            <summary>spec tests that run count should not use estimated count helper</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="13201">Fixed</resolution>
                                        <assignee username="kevin.albertson@mongodb.com">Kevin Albertson</assignee>
                                    <reporter username="samantha.ritter@mongodb.com">Samantha Ritter</reporter>
                        <labels>
                    </labels>
                <created>Wed, 12 Feb 2020 20:37:46 +0000</created>
                <updated>Sat, 28 Oct 2023 11:27:07 +0000</updated>
                            <resolved>Wed, 3 Jun 2020 19:55:13 +0000</resolved>
                                                    <fixVersion>3.6.0-rc0</fixVersion>
                    <fixVersion>3.6.0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="3191337" author="kevin.albertson" created="Thu, 4 Jun 2020 21:53:25 +0000"  >&lt;p&gt;PR: &lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver/pull/661&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-cxx-driver/pull/661&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3188412" author="kevin.albertson" created="Wed, 3 Jun 2020 19:55:13 +0000"  >&lt;p&gt;Tests that use the deprecated count command are now skipped. The deprecated count helper was removed in &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-1931&quot; title=&quot;Remove code deprecated in previous releases&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-1931&quot;&gt;&lt;del&gt;CXX-1931&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="3188402" author="xgen-internal-githook" created="Wed, 3 Jun 2020 19:53:09 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Kevin Albertson&apos;, &apos;email&apos;: &apos;kevin.albertson@mongodb.com&apos;, &apos;username&apos;: &apos;kevinAlbs&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-1940&quot; title=&quot;spec tests that run count should not use estimated count helper&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-1940&quot;&gt;&lt;del&gt;CXX-1940&lt;/del&gt;&lt;/a&gt; Skip tests for removed count helper&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver/commit/26b98af0cec2698f4b8338f4eae68e8d2dc79fd9&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-cxx-driver/commit/26b98af0cec2698f4b8338f4eae68e8d2dc79fd9&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2961363" author="samantha.ritter@10gen.com" created="Tue, 10 Mar 2020 17:55:46 +0000"  >&lt;p&gt;Ah.&#160; In that case, the C++ driver&apos;s test runner needs to be fixed.&#160; I&apos;m going to reword this ticket and reopen it.&lt;/p&gt;</comment>
                            <comment id="2949297" author="behackett" created="Fri, 6 Mar 2020 20:53:56 +0000"  >&lt;p&gt;Those tests just use the count command, not the estimated_document_count helper. &lt;/p&gt;</comment>
                            <comment id="2949160" author="samantha.ritter@10gen.com" created="Fri, 6 Mar 2020 19:58:43 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=behackett&quot; class=&quot;user-hover&quot; rel=&quot;behackett&quot;&gt;behackett&lt;/a&gt; there are spec tests that check that the count command (so, the &quot;estimated document count&quot;) can be run with a filter, and they expect to see the actual count command get run rather than an aggregation pipeline, for example &lt;a href=&quot;https://github.com/mongodb/specifications/blob/master/source/client-side-encryption/tests/count.json#L120-L216&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;this CSE test&lt;/a&gt;&#160;and &lt;a href=&quot;https://github.com/mongodb/specifications/blob/master/source/command-monitoring/tests/command.json#L11-L44&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;this command monitoring test.&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Does this mean that these spec tests are wrong and should get changed, and that drivers have non-CRUD-spec compliant count implementations?&lt;/p&gt;</comment>
                            <comment id="2874944" author="behackett" created="Wed, 12 Feb 2020 20:41:32 +0000"  >&lt;p&gt;This is by design:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/specifications/blob/master/source/crud/crud.rst#estimateddocumentcount&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/blob/master/source/crud/crud.rst#estimateddocumentcount&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="1141869">CXX-1931</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </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|hwe70v:</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>