Skip to content

Commit

Permalink
Issue OpenLiberty#28078 remove workaround for EclipseLink issue now t…
Browse files Browse the repository at this point in the history
…hat it is fixed
  • Loading branch information
njr-11 committed Jul 25, 2024
1 parent 645e1fb commit aa4b5cf
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2142,12 +2142,8 @@ public void testLiteralDouble() {

assertEquals(1L, accounts.countByOwnerAndBalanceBetween("Laura TestLiteralDouble", 331.159, 331.161));

// TODO Enable the following once fixed,
//Account account = accounts.findByAccountId(id);
//assertEquals(331.16, account.balance, 0.001);
// Failure is:
// Caused by: java.lang.NullPointerException: Cannot read field "index" because "key" is null
// at org.eclipse.persistence.internal.sessions.ArrayRecord.get(ArrayRecord.java:139) ...
Account account = accounts.findByAccountId(id);
assertEquals(331.16, account.balance, 0.001);

assertEquals(2L, accounts.deleteByOwnerEndsWith("TestLiteralDouble"));
}
Expand Down

0 comments on commit aa4b5cf

Please sign in to comment.