Skip to content

Commit

Permalink
fix: flakey ITDatastoreTest#testSkippedResults (#46)
Browse files Browse the repository at this point in the history
Fixes #18
  • Loading branch information
athakor authored Feb 14, 2020
1 parent 8b92998 commit 3035ef2
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,7 @@ public void testRunGqlQueryNoCasting() throws InterruptedException {
assertEquals(KEY1, projectionEntity.getKey());
assertTrue(projectionEntity.getNames().isEmpty());
assertFalse(keyProjectionResult.hasNext());
DATASTORE.delete(ENTITY3.getKey());
}

@Test
Expand Down Expand Up @@ -663,6 +664,7 @@ public void testGetArrayNoDeferredResults() {
// expected - no such property
}
assertFalse(result.hasNext());
DATASTORE.delete(ENTITY3.getKey());
}

@Test
Expand Down Expand Up @@ -712,6 +714,7 @@ public void testUpdate() {
assertNotEquals(ENTITY3, entity3);
DATASTORE.update(entity3);
assertEquals(entity3, DATASTORE.get(ENTITY3.getKey()));
DATASTORE.delete(ENTITY3.getKey());
}

@Test
Expand Down

0 comments on commit 3035ef2

Please sign in to comment.