You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@usergrid.apache.org by to...@apache.org on 2014/11/17 21:12:56 UTC
[46/50] [abbrv] incubator-usergrid git commit: Added version check to
ensure correct versions
Added version check to ensure correct versions
Project: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/commit/326c8eff
Tree: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/tree/326c8eff
Diff: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/diff/326c8eff
Branch: refs/heads/two-dot-o-events
Commit: 326c8effb05a1d71eca19eac03977f9aaea7dd8b
Parents: 3403ba9
Author: Todd Nine <tn...@apigee.com>
Authored: Fri Nov 14 08:42:00 2014 -0700
Committer: Todd Nine <tn...@apigee.com>
Committed: Fri Nov 14 08:42:00 2014 -0700
----------------------------------------------------------------------
.../corepersistence/migration/EntityTypeMappingMigrationIT.java | 2 ++
.../corepersistence/migration/GraphShardVersionMigrationIT.java | 1 +
2 files changed, 3 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/326c8eff/stack/core/src/test/java/org/apache/usergrid/corepersistence/migration/EntityTypeMappingMigrationIT.java
----------------------------------------------------------------------
diff --git a/stack/core/src/test/java/org/apache/usergrid/corepersistence/migration/EntityTypeMappingMigrationIT.java b/stack/core/src/test/java/org/apache/usergrid/corepersistence/migration/EntityTypeMappingMigrationIT.java
index d2c31ff..b218368 100644
--- a/stack/core/src/test/java/org/apache/usergrid/corepersistence/migration/EntityTypeMappingMigrationIT.java
+++ b/stack/core/src/test/java/org/apache/usergrid/corepersistence/migration/EntityTypeMappingMigrationIT.java
@@ -77,6 +77,7 @@ public class EntityTypeMappingMigrationIT extends AbstractCoreIT {
@Test
public void testIdMapping() throws Throwable {
+ assertEquals("version 1 expected", 1, entityTypeMappingMigration.getVersion());
final EntityManager newAppEm = app.getEntityManager();
@@ -112,6 +113,7 @@ public class EntityTypeMappingMigrationIT extends AbstractCoreIT {
+
AllEntitiesInSystemObservable.getAllEntitiesInSystem( managerCache )
.doOnNext( new Action1<AllEntitiesInSystemObservable.EntityData>() {
@Override
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/326c8eff/stack/core/src/test/java/org/apache/usergrid/corepersistence/migration/GraphShardVersionMigrationIT.java
----------------------------------------------------------------------
diff --git a/stack/core/src/test/java/org/apache/usergrid/corepersistence/migration/GraphShardVersionMigrationIT.java b/stack/core/src/test/java/org/apache/usergrid/corepersistence/migration/GraphShardVersionMigrationIT.java
index e16c60d..1e6f0d5 100644
--- a/stack/core/src/test/java/org/apache/usergrid/corepersistence/migration/GraphShardVersionMigrationIT.java
+++ b/stack/core/src/test/java/org/apache/usergrid/corepersistence/migration/GraphShardVersionMigrationIT.java
@@ -82,6 +82,7 @@ public class GraphShardVersionMigrationIT extends AbstractCoreIT {
@Test
public void testIdMapping() throws Throwable {
+ assertEquals("version 2 expected", 2, graphShardVersionMigration.getVersion());
/**
* Drop our migration keyspaces to ensure we don't have a "new version in there"