Fix test to use Akka region config instead of SQS region config
diff --git a/stack/rest/src/test/java/org/apache/usergrid/rest/applications/collection/CollectionsResourceIT.java b/stack/rest/src/test/java/org/apache/usergrid/rest/applications/collection/CollectionsResourceIT.java
index bf06c21..f172a47 100644
--- a/stack/rest/src/test/java/org/apache/usergrid/rest/applications/collection/CollectionsResourceIT.java
+++ b/stack/rest/src/test/java/org/apache/usergrid/rest/applications/collection/CollectionsResourceIT.java
@@ -1030,7 +1030,7 @@
try {
app().collection( collectionName ).collection( "_settings" )
- .post( new Entity().chainPut(REGION_SETTING, "us-moon-1" ) );
+ .post( new Entity().chainPut(REGION_SETTING, "us-moon" ) );
fail( "post should have failed");
} catch ( BadRequestException expected ) {}
@@ -1038,14 +1038,14 @@
// set collection region with good region
app().collection( collectionName ).collection( "_settings" )
- .post( new Entity().chainPut( REGION_SETTING, "us-east-1" ) );
+ .post( new Entity().chainPut( REGION_SETTING, "us-east" ) );
// get collection settings see that we have a region
collection = app().collection( collectionName ).collection( "_settings" ).get();
settings = (Map<String, Object>)collection.getResponse().getData();
assertNotNull( settings.get( REGION_SETTING ));
- assertEquals( "us-east-1", settings.get( REGION_SETTING ));
+ assertEquals( "us-east", settings.get( REGION_SETTING ));
// unset the collection region