[ 
https://issues.apache.org/jira/browse/IGNITE-13128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17132768#comment-17132768
 ] 

Ignite TC Bot commented on IGNITE-13128:
----------------------------------------

{panel:title=Branch: [pull/7913/head] Base: [master] : Possible Blockers 
(4)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}
{color:#d04437}MVCC Cache 7{color} [[tests 0 TIMEOUT , Exit Code 
|https://ci.ignite.apache.org/viewLog.html?buildId=5378861]]

{color:#d04437}Thin Client: Java{color} [[tests 0 Exit Code 
|https://ci.ignite.apache.org/viewLog.html?buildId=5378778]]

{color:#d04437}PDS (Indexing){color} [[tests 0 TIMEOUT , Exit Code 
|https://ci.ignite.apache.org/viewLog.html?buildId=5378835]]

{color:#d04437}Basic 1{color} [[tests 
1|https://ci.ignite.apache.org/viewLog.html?buildId=5378799]]
* IgniteBasicTestSuite: 
WALRecordSerializationTest.testAllWalRecordsSerializedAndDeserializedSuccessfully
 - Test has low fail rate in base branch 0,0% and is not flaky

{panel}
[TeamCity *--> Run :: All* 
Results|https://ci.ignite.apache.org/viewLog.html?buildId=5378872&buildTypeId=IgniteTests24Java8_RunAll]

> IgniteLock throws NullPointerException when removed before use
> --------------------------------------------------------------
>
>                 Key: IGNITE-13128
>                 URL: https://issues.apache.org/jira/browse/IGNITE-13128
>             Project: Ignite
>          Issue Type: Bug
>          Components: data structures
>    Affects Versions: 2.8
>            Reporter: Pavel Tupitsyn
>            Assignee: Kartik Somani
>            Priority: Major
>              Labels: newbie
>             Fix For: 2.9
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Reproducer: 
> {code:java}
>     public void testClosedLockThrowsIgniteException() {
>         final String lockName = "testRemovedLockThrowsIgniteException";
>         Ignite srv = ignite(0);
>         IgniteLock lock1 = srv.reentrantLock(lockName, false, false, true);
>         IgniteLock lock2 = srv.reentrantLock(lockName, false, false, true);
>         lock1.close();
>         lock2.lock();
>     }
> {code}
> This does not happen if we add any lock2 call before lock1.close(). The 
> following works as expected, returning "Failed to find reentrant lock with 
> given name" exception:
> {code:java}
>     public void testClosedLockThrowsIgniteException() {
>         final String lockName = "testRemovedLockThrowsIgniteException";
>         Ignite srv = ignite(0);
>         IgniteLock lock1 = srv.reentrantLock(lockName, false, false, true);
>         IgniteLock lock2 = srv.reentrantLock(lockName, false, false, true);
>         lock2.isLocked();
>         lock1.close();
>         lock2.lock();
>     }
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to