You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by vo...@apache.org on 2016/08/15 07:38:54 UTC

[25/30] ignite git commit: Disabled "no-close" tests for DUAL modes because actual semantics is undefined.

Disabled "no-close" tests for DUAL modes because actual semantics is undefined.


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/497b52cc
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/497b52cc
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/497b52cc

Branch: refs/heads/ignite-1926
Commit: 497b52ccb33414b80e2b559fd9de0a476cec72ca
Parents: 36c5308
Author: vozerov-gridgain <vo...@gridgain.com>
Authored: Mon Aug 15 10:09:58 2016 +0300
Committer: vozerov-gridgain <vo...@gridgain.com>
Committed: Mon Aug 15 10:09:58 2016 +0300

----------------------------------------------------------------------
 .../processors/igfs/IgfsAbstractSelfTest.java   | 36 ++++++++++++++++++++
 1 file changed, 36 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/497b52cc/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsAbstractSelfTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsAbstractSelfTest.java b/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsAbstractSelfTest.java
index c92eb3d..b29d56c 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsAbstractSelfTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/igfs/IgfsAbstractSelfTest.java
@@ -1407,6 +1407,9 @@ public abstract class IgfsAbstractSelfTest extends IgfsCommonAbstractTest {
      * @throws Exception If failed.
      */
     public void testCreateNoClose() throws Exception {
+        if (dual)
+            return;
+
         create(igfs, paths(DIR, SUBDIR), null);
 
         GridTestUtils.assertThrows(log(), new Callable<Object>() {
@@ -1433,6 +1436,9 @@ public abstract class IgfsAbstractSelfTest extends IgfsCommonAbstractTest {
      * @throws Exception If failed.
      */
     public void testCreateRenameNoClose() throws Exception {
+        if (dual)
+            return;
+
         create(igfs, paths(DIR, SUBDIR), null);
 
         IgfsOutputStream os = null;
@@ -1455,6 +1461,9 @@ public abstract class IgfsAbstractSelfTest extends IgfsCommonAbstractTest {
      * @throws Exception If failed.
      */
     public void testCreateRenameParentNoClose() throws Exception {
+        if (dual)
+            return;
+
         create(igfs, paths(DIR, SUBDIR), null);
 
         IgfsOutputStream os = null;
@@ -1477,6 +1486,9 @@ public abstract class IgfsAbstractSelfTest extends IgfsCommonAbstractTest {
      * @throws Exception If failed.
      */
     public void testCreateDeleteNoClose() throws Exception {
+        if (dual)
+            return;
+
         create(igfs, paths(DIR, SUBDIR), null);
 
         IgfsOutputStream os = null;
@@ -1528,6 +1540,9 @@ public abstract class IgfsAbstractSelfTest extends IgfsCommonAbstractTest {
      * @throws Exception If failed.
      */
     public void testCreateDeleteParentNoClose() throws Exception {
+        if (dual)
+            return;
+
         create(igfs, paths(DIR, SUBDIR), null);
 
         IgfsOutputStream os = null;
@@ -1579,6 +1594,9 @@ public abstract class IgfsAbstractSelfTest extends IgfsCommonAbstractTest {
      * @throws Exception If failed.
      */
     public void testCreateUpdateNoClose() throws Exception {
+        if (dual)
+            return;
+
         if(!propertiesSupported())
             return;
 
@@ -1920,6 +1938,9 @@ public abstract class IgfsAbstractSelfTest extends IgfsCommonAbstractTest {
      * @throws Exception If failed.
      */
     public void testAppendNoClose() throws Exception {
+        if (dual)
+            return;
+
         if (appendSupported()) {
             create(igfs, paths(DIR, SUBDIR), null);
 
@@ -1951,6 +1972,9 @@ public abstract class IgfsAbstractSelfTest extends IgfsCommonAbstractTest {
      * @throws Exception If failed.
      */
     public void testAppendRenameNoClose() throws Exception {
+        if (dual)
+            return;
+
         if (appendSupported()) {
             create(igfs, paths(DIR, SUBDIR), null);
 
@@ -1976,6 +2000,9 @@ public abstract class IgfsAbstractSelfTest extends IgfsCommonAbstractTest {
      * @throws Exception If failed.
      */
     public void testAppendRenameParentNoClose() throws Exception {
+        if (dual)
+            return;
+
         if (appendSupported()) {
             create(igfs.asSecondary(), paths(DIR, SUBDIR), null);
 
@@ -2001,6 +2028,9 @@ public abstract class IgfsAbstractSelfTest extends IgfsCommonAbstractTest {
      * @throws Exception If failed.
      */
     public void testAppendDeleteNoClose() throws Exception {
+        if (dual)
+            return;
+
         if (appendSupported()) {
             create(igfs, paths(DIR, SUBDIR), null);
 
@@ -2053,6 +2083,9 @@ public abstract class IgfsAbstractSelfTest extends IgfsCommonAbstractTest {
      * @throws Exception If failed.
      */
     public void testAppendDeleteParentNoClose() throws Exception {
+        if (dual)
+            return;
+
         if (appendSupported()) {
             create(igfs, paths(DIR, SUBDIR), null);
 
@@ -2105,6 +2138,9 @@ public abstract class IgfsAbstractSelfTest extends IgfsCommonAbstractTest {
      * @throws Exception If failed.
      */
     public void testAppendUpdateNoClose() throws Exception {
+        if (dual)
+            return;
+
         if (appendSupported()) {
             Map<String, String> props = properties("owner", "group", "0555");