<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:05:43 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-2371] Add unified specification tests for snapshot sessions</title>
                <link>https://jira.mongodb.org/browse/CXX-2371</link>
                <project id="11980" key="CXX">C++ Driver</project>
                    <description>&lt;p&gt;&lt;b&gt;Background &amp;amp; Motivation&lt;/b&gt;&lt;br/&gt;
 The sessions specification has two sets of &lt;a href=&quot;https://github.com/mongodb/specifications/tree/master/source/sessions/tests&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;JSON/YML tests&lt;/a&gt;:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;sessions/tests/unified&lt;/li&gt;
	&lt;li&gt;sessions/tests/legacy&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-815&quot; title=&quot;Snapshot reads on Secondaries&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-815&quot;&gt;&lt;del&gt;DRIVERS-815&lt;/del&gt;&lt;/a&gt; includes new sessions tests written in the Unified Test Format under sessions/tests/unified. The C++ driver has a unified test format runner.&lt;/p&gt;

&lt;p&gt;The C++ driver does not have a runner for the legacy sessions specification. &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-2087&quot; title=&quot;Implement All Relevant Spec Tests&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-2087&quot;&gt;CXX-2087&lt;/a&gt; notes all test runners the C++ driver does not implement. The Snapshot Reads Specification did not introduce any new legacy sessions tests.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Scope&lt;/b&gt;&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Download the &lt;a href=&quot;https://github.com/mongodb/specifications/blob/master/source/sessions/tests/unified/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;sessions unified test files&lt;/a&gt; into a new directory &lt;tt&gt;/data/sessions/unified&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;Add a &lt;tt&gt;TEST_CASE&lt;/tt&gt; to the unified test runner&apos;s runner.cpp&lt;/li&gt;
	&lt;li&gt;Update the unified test runner if necessary to run the new tests.&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="1875430">CXX-2371</key>
            <summary>Add unified specification tests for snapshot sessions</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</type>
                                            <priority id="10300" iconUrl="https://jira.mongodb.org/images/icons/priorities/medium.svg">Unknown</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="jesse.williamson@mongodb.com">Jesse Williamson</assignee>
                                    <reporter username="kevin.albertson@mongodb.com">Kevin Albertson</reporter>
                        <labels>
                    </labels>
                <created>Wed, 15 Sep 2021 18:49:37 +0000</created>
                <updated>Sat, 28 Oct 2023 11:26:50 +0000</updated>
                            <resolved>Mon, 8 Nov 2021 20:30:31 +0000</resolved>
                                                    <fixVersion>3.7.0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="4170840" author="xgen-internal-githook" created="Fri, 5 Nov 2021 03:41:58 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Jesse Williamson&apos;, &apos;email&apos;: &apos;jesse.williamson@mongodb.com&apos;, &apos;username&apos;: &apos;chardan&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-2368&quot; title=&quot;Snapshot reads on Secondaries&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-2368&quot;&gt;&lt;del&gt;CXX-2368&lt;/del&gt;&lt;/a&gt; support read concern snapshot (#828)&lt;/p&gt;


&lt;ul&gt;
	&lt;li&gt;Add snapshot-sessions data.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;This commit adds data from &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-2371&quot; title=&quot;Add unified specification tests for snapshot sessions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-2371&quot;&gt;&lt;del&gt;CXX-2371&lt;/del&gt;&lt;/a&gt;, as described here:&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/CXX-2371&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/CXX-2371&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;Add cmake support for unified session tests.&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Add slight informational improvements to runner&apos;s environment variable&lt;br/&gt;
lookup.&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;remove unnecessary CAPTURE of test file contents&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;fix distinct result&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;pass session argument to count_documents operation&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;pass session argument to runCommand, updateOne, listDatabases, listCollections&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;support listIndexes&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;fix writeConcern parsing&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;use wc majority for inserting initialData&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;apply clang-format&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Fixup for test; cannot check condition until another bug is patched.&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Respond to review comments.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Signed-off-by: Jesse Williamson &amp;lt;jesse.williamson@mongodb.com&amp;gt;&lt;/p&gt;

&lt;p&gt;Co-authored-by: Kevin Albertson &amp;lt;kevin.albertson@mongodb.com&amp;gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-cxx-driver/commit/b858c5e18dce80bd9f8919f48b3be6fa3e066332&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-cxx-driver/commit/b858c5e18dce80bd9f8919f48b3be6fa3e066332&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4167451" author="kevin.albertson" created="Wed, 3 Nov 2021 17:16:15 +0000"  >&lt;p&gt;This is being done as part of &lt;a href=&quot;https://jira.mongodb.org/browse/CXX-2368&quot; title=&quot;Snapshot reads on Secondaries&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CXX-2368&quot;&gt;&lt;del&gt;CXX-2368&lt;/del&gt;&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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>CXX-2182</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr6i9z:</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>