<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:55:47 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>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[CONTROLLER-1532] CommitTransactionPayloadTest#testCandidateSerialization() fails</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-1532</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;CommitTransactionPayloadTest#testCandidateSerialization() as follows&lt;/p&gt;

&lt;p&gt;Running org.opendaylight.controller.cluster.datastore.persisted.CommitTransactionPayloadTest&lt;br/&gt;
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.233 sec &amp;lt;&amp;lt;&amp;lt; FAILURE! - in org.opendaylight.controller.cluster.datastore.persisted.CommitTransactionPayloadTest&lt;br/&gt;
testCandidateSerialization(org.opendaylight.controller.cluster.datastore.persisted.CommitTransactionPayloadTest)  Time elapsed: 0.129 sec  &amp;lt;&amp;lt;&amp;lt; FAILURE!&lt;br/&gt;
java.lang.AssertionError: payload size expected:&amp;lt;181&amp;gt; but was:&amp;lt;180&amp;gt;&lt;br/&gt;
        at org.junit.Assert.fail(Assert.java:88)&lt;br/&gt;
        at org.junit.Assert.failNotEquals(Assert.java:743)&lt;br/&gt;
        at org.junit.Assert.assertEquals(Assert.java:118)&lt;br/&gt;
        at org.junit.Assert.assertEquals(Assert.java:555)&lt;br/&gt;
        at org.opendaylight.controller.cluster.datastore.persisted.CommitTransactionPayloadTest.testCandidateSerialization(CommitTransactionPayloadTest.java:116)&lt;/p&gt;


&lt;p&gt;Results :&lt;/p&gt;

&lt;p&gt;Failed tests: &lt;br/&gt;
  CommitTransactionPayloadTest.testCandidateSerialization:116 payload size expected:&amp;lt;181&amp;gt; but was:&amp;lt;180&amp;gt;&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="26086">CONTROLLER-1532</key>
            <summary>CommitTransactionPayloadTest#testCandidateSerialization() fails</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <status id="5" iconUrl="https://jira.opendaylight.org/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="yamahata">Isaku Yamahata</assignee>
                                    <reporter username="yamahata">Isaku Yamahata</reporter>
                        <labels>
                    </labels>
                <created>Tue, 12 Jul 2016 04:22:54 +0000</created>
                <updated>Fri, 15 Jul 2016 20:02:09 +0000</updated>
                            <resolved>Fri, 15 Jul 2016 20:02:09 +0000</resolved>
                                    <version>0.4.0</version>
                                                    <component>mdsal</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="51467" author="yamahata" created="Tue, 12 Jul 2016 04:24:59 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/41691/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/41691/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="51468" author="yamahata" created="Tue, 12 Jul 2016 09:44:08 +0000"  >&lt;p&gt;In order to reproduce it,&lt;br/&gt;
Once compile controller and then run only the test as follows.&lt;br/&gt;
mvn clean install&lt;br/&gt;
then&lt;br/&gt;
mvn -nsu &apos;-Dtest=CommitTransactionPayloadTest#testCandidateSerialization&apos; test -pl :sal-distributed-datastore&lt;/p&gt;

&lt;p&gt;The root cause is that historic transaction id and transaction id can vary depending on the running order. And the payload size may vary depending on its value due to WritableObject#writeLongs() and #writeLong().&lt;/p&gt;

&lt;p&gt;When the only test is run, historic id == 0 &amp;amp;&amp;amp; transaction id == 0.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6186</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10201" key="com.atlassian.jira.plugin.system.customfieldtypes:url">
                        <customfieldname>External issue URL</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[https://bugs.opendaylight.org/show_bug.cgi?id=6186]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i02r5j:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>