You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@geode.apache.org by GitBox <gi...@apache.org> on 2021/06/03 19:14:34 UTC

[GitHub] [geode] kirklund opened a new pull request #6559: DRAFT: GEODE-9344: Ignore DistributedSystemDisconnectedException in RollingUpgradeDUnitTest

kirklund opened a new pull request #6559:
URL: https://github.com/apache/geode/pull/6559


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [geode] kirklund commented on a change in pull request #6559: GEODE-9344: Ignore DistributedSystemDisconnectedException in RollingUpgradeDUnitTest

Posted by GitBox <gi...@apache.org>.
kirklund commented on a change in pull request #6559:
URL: https://github.com/apache/geode/pull/6559#discussion_r645135444



##########
File path: geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeDUnitTest.java
##########
@@ -133,8 +135,9 @@ private void deleteWorkingDirFiles() {
   @Override
   public void postSetUp() throws Exception {
     deleteWorkingDirFiles();
-    IgnoredException.addIgnoredException(
-        "cluster configuration service not available|ConflictingPersistentDataException");
+    addIgnoredException("cluster configuration service not available");
+    addIgnoredException(ConflictingPersistentDataException.class);
+    addIgnoredException(DistributedSystemDisconnectedException.class);

Review comment:
       "Abandoned because shutdown is in progress" sounds good to me.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [geode] kirklund merged pull request #6559: GEODE-9344: Ignore DistributedSystemDisconnectedException in RollingUpgradeDUnitTest

Posted by GitBox <gi...@apache.org>.
kirklund merged pull request #6559:
URL: https://github.com/apache/geode/pull/6559


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [geode] DonalEvans commented on a change in pull request #6559: GEODE-9344: Ignore DistributedSystemDisconnectedException in RollingUpgradeDUnitTest

Posted by GitBox <gi...@apache.org>.
DonalEvans commented on a change in pull request #6559:
URL: https://github.com/apache/geode/pull/6559#discussion_r645130153



##########
File path: geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeDUnitTest.java
##########
@@ -133,8 +135,9 @@ private void deleteWorkingDirFiles() {
   @Override
   public void postSetUp() throws Exception {
     deleteWorkingDirFiles();
-    IgnoredException.addIgnoredException(
-        "cluster configuration service not available|ConflictingPersistentDataException");
+    addIgnoredException("cluster configuration service not available");
+    addIgnoredException(ConflictingPersistentDataException.class);
+    addIgnoredException(DistributedSystemDisconnectedException.class);

Review comment:
       Might it be better to instead use "Abandoned because shutdown is in progress" as the ignored exception, rather than ignoring any `DistributedSystemDisconnectedException`? Or is it reasonable that any `DistributedSystemDisconnectedException` can be safely ignored in these tests?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [geode] DonalEvans commented on a change in pull request #6559: GEODE-9344: Ignore DistributedSystemDisconnectedException in RollingUpgradeDUnitTest

Posted by GitBox <gi...@apache.org>.
DonalEvans commented on a change in pull request #6559:
URL: https://github.com/apache/geode/pull/6559#discussion_r645130153



##########
File path: geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeDUnitTest.java
##########
@@ -133,8 +135,9 @@ private void deleteWorkingDirFiles() {
   @Override
   public void postSetUp() throws Exception {
     deleteWorkingDirFiles();
-    IgnoredException.addIgnoredException(
-        "cluster configuration service not available|ConflictingPersistentDataException");
+    addIgnoredException("cluster configuration service not available");
+    addIgnoredException(ConflictingPersistentDataException.class);
+    addIgnoredException(DistributedSystemDisconnectedException.class);

Review comment:
       Might it be better to instead use "Abandoned because shutdown is in progress" as the ignored exception, rather than ignoring any `DistributedSystemDisconnectedException`? Or is it reasonable that any `DistributedSystemDisconnectedException` can be safely ignored in these tests?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [geode] kirklund commented on a change in pull request #6559: GEODE-9344: Ignore DistributedSystemDisconnectedException in RollingUpgradeDUnitTest

Posted by GitBox <gi...@apache.org>.
kirklund commented on a change in pull request #6559:
URL: https://github.com/apache/geode/pull/6559#discussion_r645135444



##########
File path: geode-core/src/upgradeTest/java/org/apache/geode/internal/cache/rollingupgrade/RollingUpgradeDUnitTest.java
##########
@@ -133,8 +135,9 @@ private void deleteWorkingDirFiles() {
   @Override
   public void postSetUp() throws Exception {
     deleteWorkingDirFiles();
-    IgnoredException.addIgnoredException(
-        "cluster configuration service not available|ConflictingPersistentDataException");
+    addIgnoredException("cluster configuration service not available");
+    addIgnoredException(ConflictingPersistentDataException.class);
+    addIgnoredException(DistributedSystemDisconnectedException.class);

Review comment:
       "Abandoned because shutdown is in progress" sounds good to me.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org