>From Michael Blow <mb...@apache.org>: Michael Blow has uploaded this change for review. ( https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/20217 )
Change subject: [NO ISSUE][*DB][TEST] avoid exceptions on duplicate s3mock shutdowns ...................................................................... [NO ISSUE][*DB][TEST] avoid exceptions on duplicate s3mock shutdowns Change-Id: I36ef2b2b9f4ef335e226b89422450fdd1e4dec63 --- M asterixdb/asterix-app/src/test/java/org/apache/asterix/api/common/LocalCloudUtil.java M asterixdb/asterix-app/src/test/java/org/apache/asterix/api/common/LocalCloudUtilAdobeMock.java 2 files changed, 11 insertions(+), 0 deletions(-) git pull ssh://asterix-gerrit.ics.uci.edu:29418/asterixdb refs/changes/17/20217/1 diff --git a/asterixdb/asterix-app/src/test/java/org/apache/asterix/api/common/LocalCloudUtil.java b/asterixdb/asterix-app/src/test/java/org/apache/asterix/api/common/LocalCloudUtil.java index 9e67c92..0a2c4e9 100644 --- a/asterixdb/asterix-app/src/test/java/org/apache/asterix/api/common/LocalCloudUtil.java +++ b/asterixdb/asterix-app/src/test/java/org/apache/asterix/api/common/LocalCloudUtil.java @@ -118,6 +118,7 @@ } catch (Exception ex) { // do nothing } + s3MockServer = null; } } } diff --git a/asterixdb/asterix-app/src/test/java/org/apache/asterix/api/common/LocalCloudUtilAdobeMock.java b/asterixdb/asterix-app/src/test/java/org/apache/asterix/api/common/LocalCloudUtilAdobeMock.java index 95cdb1c..1aefadf 100644 --- a/asterixdb/asterix-app/src/test/java/org/apache/asterix/api/common/LocalCloudUtilAdobeMock.java +++ b/asterixdb/asterix-app/src/test/java/org/apache/asterix/api/common/LocalCloudUtilAdobeMock.java @@ -103,6 +103,7 @@ } catch (Exception ex) { // do nothing } + s3Mock = null; } } } -- To view, visit https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/20217 To unsubscribe, or for help writing mail filters, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-Project: asterixdb Gerrit-Branch: ionic Gerrit-Change-Id: I36ef2b2b9f4ef335e226b89422450fdd1e4dec63 Gerrit-Change-Number: 20217 Gerrit-PatchSet: 1 Gerrit-Owner: Michael Blow <mb...@apache.org> Gerrit-MessageType: newchange