-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
JDG 7.0.0 ER7
The following tests from DirectoryProviderModuleMemberRegistrationIT fail on Solaris:
testNewMemberSearch,
testNewMemberSpatialSearchLongDistance, testNewMemberSpatialSearchLongDistanceWithDistance, testNewMemberSpatialSearchNearCBGB, testNewMemberSpatialSearchNearCBGBWithDistance
For logs from individial tests please see test results
logs from testNewMemberSearch:
Error Message
Index size isn't correct expected:<2> but was:<1>
Stacktrace
java.lang.AssertionError: Index size isn't correct expected:<2> but was:<1>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:743)
at org.junit.Assert.assertEquals(Assert.java:118)
at org.junit.Assert.assertEquals(Assert.java:555)
at org.infinispan.test.integration.as.wildfly.MemberRegistrationBase.testNewMemberSearch(MemberRegistrationBase.java:78)
at org.infinispan.test.integration.as.wildfly.DirectoryProviderModuleMemberRegistrationIT.testNewMemberSearch(DirectoryProviderModuleMemberRegistrationIT.java:23)
extracted from logs:
...
Caused by: org.h2.jdbc.JdbcSQLException: Unique index or primary key violation: "UK9QV6YHJQM8IAFTO8QK452GX8H_INDEX_8 ON PUBLIC.MEMBER(EMAIL) VALUES ( /* 2 */ 'davide@mailinator.com' )"; SQL statement:
insert into Member (email, latitude, longitude, name, phone_number, id) values (?, ?, ?, ?, ?, ?) [23505-173]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:331)
at org.h2.message.DbException.get(DbException.java:171)
at org.h2.message.DbException.get(DbException.java:148)
at org.h2.index.BaseIndex.getDuplicateKeyException(BaseIndex.java:101)
at org.h2.index.PageBtree.find(PageBtree.java:121)
at org.h2.index.PageBtreeLeaf.addRow(PageBtreeLeaf.java:148)
at org.h2.index.PageBtreeLeaf.addRowTry(PageBtreeLeaf.java:101)
at org.h2.index.PageBtreeIndex.addRow(PageBtreeIndex.java:95)
at org.h2.index.PageBtreeIndex.add(PageBtreeIndex.java:86)
at org.h2.table.RegularTable.addRow(RegularTable.java:125)
at org.h2.command.dml.Insert.insertRows(Insert.java:127)
at org.h2.command.dml.Insert.update(Insert.java:86)
at org.h2.command.CommandContainer.update(CommandContainer.java:79)
at org.h2.command.Command.executeUpdate(Command.java:235)
at org.h2.server.TcpServerThread.process(TcpServerThread.java:335)
at org.h2.server.TcpServerThread.run(TcpServerThread.java:151)
at java.lang.Thread.run(Thread.java:745)
at org.h2.engine.SessionRemote.done(SessionRemote.java:579)
at org.h2.command.CommandRemote.executeUpdate(CommandRemote.java:186)
at org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:154)
at org.h2.jdbc.JdbcPreparedStatement.executeUpdate(JdbcPreparedStatement.java:140)
at org.jboss.jca.adapters.jdbc.WrappedPreparedStatement.executeUpdate(WrappedPreparedStatement.java:537)
at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:204)
... 173 more
...