[jira] [Commented] (IGNITE-3537) Add tests checking that data structures work inside user transactions

2017-02-08 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on IGNITE-3537:


Github user asfgit closed the pull request at:

https://github.com/apache/ignite/pull/1441


> Add tests checking that data structures work inside user transactions
> -
>
> Key: IGNITE-3537
> URL: https://issues.apache.org/jira/browse/IGNITE-3537
> Project: Ignite
>  Issue Type: Task
>  Components: data structures
>Reporter: Semen Boikov
>Assignee: Vadim Opolski
>Priority: Minor
>  Labels: newbie
> Fix For: 1.9
>
>
> Need create tests to check that Ignite data structures work inside user 
> transaction. Now data structures should use independent transactions, test 
> should jus check that there are no exceptions.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (IGNITE-3537) Add tests checking that data structures work inside user transactions

2017-01-18 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on IGNITE-3537:


Github user javaller closed the pull request at:

https://github.com/apache/ignite/pull/1441


> Add tests checking that data structures work inside user transactions
> -
>
> Key: IGNITE-3537
> URL: https://issues.apache.org/jira/browse/IGNITE-3537
> Project: Ignite
>  Issue Type: Task
>  Components: data structures
>Reporter: Semen Boikov
>Assignee: Vadim
>Priority: Minor
>  Labels: newbie
>
> Need create tests to check that Ignite data structures work inside user 
> transaction. Now data structures should use independent transactions, test 
> should jus check that there are no exceptions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (IGNITE-3537) Add tests checking that data structures work inside user transactions

2017-01-18 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on IGNITE-3537:


GitHub user javaller reopened a pull request:

https://github.com/apache/ignite/pull/1441

IGNITE-3537

Added tests for IgniteSet, IgniteQueue, IgniteSemaphore, IgniteLock, 
IgniteCountDownLatch, IgniteAtomicStamped, IgniteAtomicReference, 
IgniteAtomicLong.
Added new testcases ( testIsolation method ) into classes  
GridCacheSetAbstractSelfTest, GridCacheQueueApiSelfAbstractTest, 
IgniteSemaphoreAbstractSelfTest, IgniteLockAbstractSelfTest, 
IgniteCountDownLatchAbstractSelfTest, 
GridCacheAtomicStampedApiSelfAbstractTest, 
GridCacheAtomicReferenceApiSelfAbstractTest, 
IgniteAtomicLongApiAbstractSelfTest.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/javaller/ignite master

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/ignite/pull/1441.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1441


commit e41a92f051594953f5f67c86e3c2878dfbb2e4e2
Author: javaller 
Date:   2016-12-15T14:27:01Z

test commit & push

commit 9f204b1d9d2cd3a12e1cbe0c487b42da96963a78
Author: javaller 
Date:   2016-12-18T14:38:37Z

Added tests for IgniteSet, IgniteQueue, IgniteSemaphore, IgniteLock, 
IgniteCountDownLatch, IgniteAtomicStamped, IgniteAtomicReference, 
IgniteAtomicLong.
Added new testcases ( testIsolation methon ) into classes  
GridCacheSetAbstractSelfTest, GridCacheQueueApiSelfAbstractTest, 
IgniteSemaphoreAbstractSelfTest, IgniteLockAbstractSelfTest, 
IgniteCountDownLatchAbstractSelfTest, 
GridCacheAtomicStampedApiSelfAbstractTest, 
GridCacheAtomicReferenceApiSelfAbstractTest, 
IgniteAtomicLongApiAbstractSelfTest.

commit 6b74e31b73db61b04c9bbd7dc99297049c39d81f
Author: javaller 
Date:   2016-12-18T18:47:58Z

IGNITE-3537:
Added tests for IgniteSet, IgniteQueue, IgniteSemaphore, IgniteLock, 
IgniteCountDownLatch, IgniteAtomicStamped, IgniteAtomicReference, 
IgniteAtomicLong.
Added new testcases ( testIsolation method ) into classes  
GridCacheSetAbstractSelfTest, GridCacheQueueApiSelfAbstractTest, 
IgniteSemaphoreAbstractSelfTest, IgniteLockAbstractSelfTest, 
IgniteCountDownLatchAbstractSelfTest, 
GridCacheAtomicStampedApiSelfAbstractTest, 
GridCacheAtomicReferenceApiSelfAbstractTest, 
IgniteAtomicLongApiAbstractSelfTest.

commit 29311621a121ab280176ccfef12704d0a84f8601
Author: javaller 
Date:   2016-12-18T18:48:53Z

Merge remote-tracking branch 'origin/master'




> Add tests checking that data structures work inside user transactions
> -
>
> Key: IGNITE-3537
> URL: https://issues.apache.org/jira/browse/IGNITE-3537
> Project: Ignite
>  Issue Type: Task
>  Components: data structures
>Reporter: Semen Boikov
>Assignee: Vadim
>Priority: Minor
>  Labels: newbie
>
> Need create tests to check that Ignite data structures work inside user 
> transaction. Now data structures should use independent transactions, test 
> should jus check that there are no exceptions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (IGNITE-3537) Add tests checking that data structures work inside user transactions

2017-01-18 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on IGNITE-3537:


GitHub user javaller opened a pull request:

https://github.com/apache/ignite/pull/1441

IGNITE-3537

Added tests for IgniteSet, IgniteQueue, IgniteSemaphore, IgniteLock, 
IgniteCountDownLatch, IgniteAtomicStamped, IgniteAtomicReference, 
IgniteAtomicLong.
Added new testcases ( testIsolation method ) into classes  
GridCacheSetAbstractSelfTest, GridCacheQueueApiSelfAbstractTest, 
IgniteSemaphoreAbstractSelfTest, IgniteLockAbstractSelfTest, 
IgniteCountDownLatchAbstractSelfTest, 
GridCacheAtomicStampedApiSelfAbstractTest, 
GridCacheAtomicReferenceApiSelfAbstractTest, 
IgniteAtomicLongApiAbstractSelfTest.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/javaller/ignite master

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/ignite/pull/1441.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1441


commit e41a92f051594953f5f67c86e3c2878dfbb2e4e2
Author: javaller 
Date:   2016-12-15T14:27:01Z

test commit & push

commit 9f204b1d9d2cd3a12e1cbe0c487b42da96963a78
Author: javaller 
Date:   2016-12-18T14:38:37Z

Added tests for IgniteSet, IgniteQueue, IgniteSemaphore, IgniteLock, 
IgniteCountDownLatch, IgniteAtomicStamped, IgniteAtomicReference, 
IgniteAtomicLong.
Added new testcases ( testIsolation methon ) into classes  
GridCacheSetAbstractSelfTest, GridCacheQueueApiSelfAbstractTest, 
IgniteSemaphoreAbstractSelfTest, IgniteLockAbstractSelfTest, 
IgniteCountDownLatchAbstractSelfTest, 
GridCacheAtomicStampedApiSelfAbstractTest, 
GridCacheAtomicReferenceApiSelfAbstractTest, 
IgniteAtomicLongApiAbstractSelfTest.

commit 6b74e31b73db61b04c9bbd7dc99297049c39d81f
Author: javaller 
Date:   2016-12-18T18:47:58Z

IGNITE-3537:
Added tests for IgniteSet, IgniteQueue, IgniteSemaphore, IgniteLock, 
IgniteCountDownLatch, IgniteAtomicStamped, IgniteAtomicReference, 
IgniteAtomicLong.
Added new testcases ( testIsolation method ) into classes  
GridCacheSetAbstractSelfTest, GridCacheQueueApiSelfAbstractTest, 
IgniteSemaphoreAbstractSelfTest, IgniteLockAbstractSelfTest, 
IgniteCountDownLatchAbstractSelfTest, 
GridCacheAtomicStampedApiSelfAbstractTest, 
GridCacheAtomicReferenceApiSelfAbstractTest, 
IgniteAtomicLongApiAbstractSelfTest.

commit 29311621a121ab280176ccfef12704d0a84f8601
Author: javaller 
Date:   2016-12-18T18:48:53Z

Merge remote-tracking branch 'origin/master'




> Add tests checking that data structures work inside user transactions
> -
>
> Key: IGNITE-3537
> URL: https://issues.apache.org/jira/browse/IGNITE-3537
> Project: Ignite
>  Issue Type: Task
>  Components: data structures
>Reporter: Semen Boikov
>Assignee: Vadim
>Priority: Minor
>  Labels: newbie
>
> Need create tests to check that Ignite data structures work inside user 
> transaction. Now data structures should use independent transactions, test 
> should jus check that there are no exceptions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (IGNITE-3537) Add tests checking that data structures work inside user transactions

2016-12-16 Thread Semen Boikov (JIRA)

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

Semen Boikov commented on IGNITE-3537:
--

Some more details:
implementation of ignite data structures internally uses special system caches, 
need make sure that transaction on these system caches do not intersect with 
transactions stared by user. Test pseudo-code (also 
GridCachePartitionedAtomicSequenceTxSelfTest.testIsolation can be used as 
example):
{noformat}
IgniteAtomicLong atomicLong = ignite.atomicLong();

try (Transaction tx = ignite(0).transactions().txStart()) {
atomicLong.incrementAndGet();

cache.put(1, 1);

tx.rollback();
}

assertEquals(1L, atomicLong.get()); // Tx was rolled back, but 
IgniteAtomicLong increment should be committed.
{noformat}

Need add tests for IgniteSet, IgniteQueue, IgniteSemaphore, IgniteLock, 
IgniteCountDownLatch, IgniteAtomicStamped, IgniteAtomicReference, 
IgniteAtomicLong. We already have test classes for all these data structures 
(e.g. IgniteAtomicLongApiAbstractSelfTest), need just add new testcases into 
these class.

> Add tests checking that data structures work inside user transactions
> -
>
> Key: IGNITE-3537
> URL: https://issues.apache.org/jira/browse/IGNITE-3537
> Project: Ignite
>  Issue Type: Task
>  Components: data structures
>Reporter: Semen Boikov
>Assignee: Milap Wadhwa
>Priority: Minor
>  Labels: newbie
>
> Need create tests to check that Ignite data structures work inside user 
> transaction. Now data structures should use independent transactions, test 
> should jus check that there are no exceptions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)