<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:18:53 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-3738] Spec test runner does not track set failpoints</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-3738</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;Failpoints enabled in spec tests must be disabled after the test. This prevents leftover failpoints from interfering with future tests.&lt;/p&gt;

&lt;p&gt;Tests must track which failpoints are set during a test, and disable exactly those at the end of the test. For example, the instructions for the SDAM integration test operation &lt;a href=&quot;https://github.com/mongodb/specifications/tree/master/source/server-discovery-and-monitoring/tests#configurefailpoint&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;configureFailPoint&lt;/a&gt; says:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;The &quot;configureFailPoint&quot; operation instructs the test runner to configure the given server failpoint on the &quot;admin&quot; database. The runner MUST disable this failpoint at the end of the test&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;libmongoc currently disables a set of hard coded failpoints (&quot;onPrimaryTransactionalWrite&quot;, &quot;failCommand&quot;, and &quot;failGetMoreAfterCursorCheckout&quot;) in &lt;tt&gt;deactivate_fail_points()&lt;/tt&gt; in &lt;tt&gt;json-test.c&lt;/tt&gt;. This currently works since those are the only failpoints used by tests. But it is susceptible to future failpoints introduced in tests not being properly disabled. That seems like a time bomb for difficult to debug test failures.&lt;/p&gt;

&lt;p&gt;See also: &lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/pull/648/files/d665a21e2ecad3497a07d7cfce69afe164d20fb9#r448523734&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;this PR conversation that motivate this ticket&lt;/a&gt;.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1404207">CDRIVER-3738</key>
            <summary>Spec test runner does not track set failpoints</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="10038" iconUrl="https://jira.mongodb.org/images/icons/subtask.gif" description="">Backlog</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="kevin.albertson@mongodb.com">Kevin Albertson</reporter>
                        <labels>
                    </labels>
                <created>Wed, 8 Jul 2020 17:41:12 +0000</created>
                <updated>Fri, 10 Feb 2023 11:51:36 +0000</updated>
                                                                            <component>tests</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                        <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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>CDRIVER-2733</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr6nav:</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>