<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:19:42 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>[CDRIVER-4024] Skip tests using unsupported operations</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-4024</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;This came out of a &lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/pull/798#discussion_r650248937&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;conversation&lt;/a&gt;&#160;from&#160;&lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-3964&quot; title=&quot;Unified test runner should append session to all operations that support it&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-3964&quot;&gt;&lt;del&gt;CDRIVER-3964&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The C driver does not have a distinct helper, so operation_distinct in the unified test runner just &lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/blob/master/src/libmongoc/tests/unified/operation.c#L759-L766&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;creates a distinct command&lt;/a&gt; to send to the server. This does not actually test any C driver functionality, so we should really just skip tests that use distinct operations.&lt;/p&gt;

&lt;p&gt;We may need to skip more spec tests with unsupported operations (such as collection enumeration variants) in the future, so having a specific function like &quot;is_test_skipped&quot; to explicitly enumerate skipped tests would be helpful.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1777710">CDRIVER-4024</key>
            <summary>Skip tests using unsupported operations</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="benji.rewis@mongodb.com">Benji Rewis</reporter>
                        <labels>
                    </labels>
                <created>Fri, 11 Jun 2021 21:12:58 +0000</created>
                <updated>Tue, 15 Jun 2021 15:46:09 +0000</updated>
                            <resolved>Tue, 15 Jun 2021 15:46:09 +0000</resolved>
                                                                    <component>tests</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="3878771" author="kevin.albertson" created="Tue, 15 Jun 2021 15:46:09 +0000"  >&lt;p&gt;We discussed in triage and decided that using the command helpers to run distinct seemed preferable to skipping tests that include distinct. If we skip a test containing a distinct operation, we risk losing test coverage. The test may run one distinct operation but have. The trade-off is additional maintenance burden in the test runner.&lt;/p&gt;

&lt;p&gt;That can be a case-by-case decision. For distinct it does not seem like much of a maintenance burden to emulate with the command helpers. We can use the &lt;tt&gt;is_test_skipped&lt;/tt&gt; helper introduced in CDRIVER-3895 if we decide to skip future tests on unsupported operations that we do not wish to emulate.&lt;/p&gt;</comment>
                            <comment id="3874411" author="jmikola@gmail.com" created="Fri, 11 Jun 2021 22:49:32 +0000"  >&lt;p&gt;CDRIVER-3895 will introduce a mechanism to skip tests for the unified test runner, which may be useful for this task.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                                        </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|hz5sen:</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>