<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:43:49 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>[CSHARP-2897] Compare server version numbers correctly in test projects</title>
                <link>https://jira.mongodb.org/browse/CSHARP-2897</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;According to the server versioning numbering scheme a version number like 4.3.0-2084-g6ef06c9 is NEWER than 4.3.0 (note: it&apos;s 2084 commits AFTER the release of 4.3.0, and is actually NOT a variant of 4.3.0 at all!).&lt;/p&gt;

&lt;p&gt;In our test projects we&apos;re using our SemanticVersion class to compare server version numbers, which interprets everything after the &quot;-&quot; as a pre-release name. And according to semantic versioning comparison rules all pre-releases of 4.3.0 are OLDER (not NEWER) than 4.3.0.&lt;/p&gt;

&lt;p&gt;So according to the server version number scheme:&lt;/p&gt;

&lt;p&gt;4.3.0-2084-g6ef06c &amp;gt; 4.3.0&lt;/p&gt;

&lt;p&gt;But according to the C# driver test code&lt;/p&gt;

&lt;p&gt;4.3.0-2084-g6ef06c &amp;lt; 4.3.0&lt;/p&gt;

&lt;p&gt;This could be causing us to execute or not execute certain version dependent tests incorrectly.&lt;/p&gt;

&lt;p&gt;We should add a new ServerVersion class that parses server version numbers and compares them correctly.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1091051">CSHARP-2897</key>
            <summary>Compare server version numbers correctly in test projects</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="mikalai.mazurenka@mongodb.com">Mikalai Mazurenka</assignee>
                                    <reporter username="robert@mongodb.com">Robert Stam</reporter>
                        <labels>
                    </labels>
                <created>Tue, 14 Jan 2020 21:42:10 +0000</created>
                <updated>Sat, 28 Oct 2023 11:48:27 +0000</updated>
                            <resolved>Fri, 31 Jul 2020 19:05:53 +0000</resolved>
                                    <version>2.10.0</version>
                                    <fixVersion>2.12.0</fixVersion>
                                    <component>Testing</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="3316247" author="xgen-internal-githook" created="Fri, 31 Jul 2020 19:04:10 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Mikalai Mazurenka&apos;, &apos;email&apos;: &apos;mikalai.mazurenka@mongodb.com&apos;, &apos;username&apos;: &apos;MikalaiMazurenka&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-2897&quot; title=&quot;Compare server version numbers correctly in test projects&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-2897&quot;&gt;&lt;del&gt;CSHARP-2897&lt;/del&gt;&lt;/a&gt;: Compare server version numbers correctly in test projects&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/e2dd1194cf931baa382a55be6541ed624f7d8b94&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/e2dd1194cf931baa382a55be6541ed624f7d8b94&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3302725" author="rstam" created="Fri, 24 Jul 2020 21:59:22 +0000"  >&lt;p&gt;As part of comparing server versions correctly let&apos;s also add special logic for comparing values like `rc2` and `rc10` so that `rc2` &amp;lt; `rc10`.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10020">
                    <name>Gantt Dependency</name>
                                            <outwardlinks description="has to be done before">
                                        <issuelink>
            <issuekey id="1418590">CSHARP-3170</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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|hw5ghb:</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>