Skip to content

Commit

Permalink
Merge pull request #3409 from kaiyaok2/fix_NIO
Browse files Browse the repository at this point in the history
Fixed non-idempotent tests in `TestCacheSerialization`
  • Loading branch information
rbygrave committed May 31, 2024
2 parents be28314 + 44efed5 commit 5f218e1
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ public void testCache() throws SQLException {
assertEquals(p1, r2.getPoint()); // and did fail https://github.com/ebean-orm/ebean/issues/3026
assertEquals(pol, r2.getPolygon());

DB.delete(tb);

}

@Test
Expand Down Expand Up @@ -76,5 +78,7 @@ public void testNullCache() throws SQLException {
assertEquals(pol, r2.getPolygon()); // and did fail https://github.com/ebean-orm/ebean/issues/3026
assertNull(r1.getPoint());

DB.delete(tb);

}
}

0 comments on commit 5f218e1

Please sign in to comment.