<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Deadlock in Junit test in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/deadlock-in-junit-test/m-p/193926#M147056</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok, very odd. But the main thing is your problem is gone &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Dec 2014 14:08:23 GMT</pubDate>
    <dc:creator>jbarrez</dc:creator>
    <dc:date>2014-12-05T14:08:23Z</dc:date>
    <item>
      <title>Deadlock in Junit test</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deadlock-in-junit-test/m-p/193922#M147052</link>
      <description>Hello,Excus eme if this topic is a duplication, it's the third time I try to create it.I have a random deadlock during a Junit test suite. The tests are executed sequentially. The deadlock happens only for a specific use case test. According to my other traces, the deadlock appears just before an as</description>
      <pubDate>Fri, 21 Nov 2014 10:39:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deadlock-in-junit-test/m-p/193922#M147052</guid>
      <dc:creator>pika822</dc:creator>
      <dc:date>2014-11-21T10:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: Deadlock in Junit test</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deadlock-in-junit-test/m-p/193923#M147053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you using threading in this unit test? H2 is not a good database to test multithreaded behavior in the Engine. You would need to test that in a "true" database.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 15:42:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deadlock-in-junit-test/m-p/193923#M147053</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2014-11-21T15:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: Deadlock in Junit test</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deadlock-in-junit-test/m-p/193924#M147054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your answer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't think so. The unit test (which generates the error) has only one process instance in execution for this test. There are no parallel execution in the process definition, just an asynchronous service task. And the unit tests executions are sequential.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;However, this error only appears when I execute all the tests of my Junit Class. It never appears when I launch just the unit test.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 16:49:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deadlock-in-junit-test/m-p/193924#M147054</guid>
      <dc:creator>pika822</dc:creator>
      <dc:date>2014-11-21T16:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: Deadlock in Junit test</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deadlock-in-junit-test/m-p/193925#M147055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I didn't check on a real database. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;However, my process is designed to use JPA variables, and in my unit test, I didn't persist my variable. So I fixed that problem and it resolved the deadlock problem too.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Nov 2014 11:06:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deadlock-in-junit-test/m-p/193925#M147055</guid>
      <dc:creator>pika822</dc:creator>
      <dc:date>2014-11-24T11:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: Deadlock in Junit test</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deadlock-in-junit-test/m-p/193926#M147056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok, very odd. But the main thing is your problem is gone &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Dec 2014 14:08:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deadlock-in-junit-test/m-p/193926#M147056</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-12-05T14:08:23Z</dc:date>
    </item>
  </channel>
</rss>

