[hibernate-commits] [hibernate/hibernate-search] 041864: HSEARCH-2727 No longer needed to explicitly disabl...

GitHub noreply at github.com
Tue May 16 04:58:33 EDT 2017


  Branch: refs/heads/master
  Home:   https://github.com/hibernate/hibernate-search
  Commit: 04186461e4a44cb88e5fc6d030fd2737440cb724
      https://github.com/hibernate/hibernate-search/commit/04186461e4a44cb88e5fc6d030fd2737440cb724
  Author: Sanne Grinovero <sanne at hibernate.org>
  Date:   2017-05-15 (Mon, 15 May 2017)

  Changed paths:
    M integrationtest/performance/src/test/java/org/hibernate/search/test/performance/scenario/TestScenario.java
    M orm/src/test/java/org/hibernate/search/test/query/sorting/SortOnFieldsFromCustomBridgeTest.java
    M orm/src/test/resources/hibernate.properties

  Log Message:
  -----------
  HSEARCH-2727 No longer needed to explicitly disable INDEX_UNINVERTING_ALLOWED in tests


  Commit: 1df86abb6b976546a3273d7a3dc34723973675af
      https://github.com/hibernate/hibernate-search/commit/1df86abb6b976546a3273d7a3dc34723973675af
  Author: Sanne Grinovero <sanne at hibernate.org>
  Date:   2017-05-15 (Mon, 15 May 2017)

  Changed paths:
    M elasticsearch/src/test/java/org/hibernate/search/elasticsearch/test/ElasticsearchSchemaNamingErrorsIT.java

  Log Message:
  -----------
  HSEARCH-2716 ElasticsearchSchemaNamingErrorsIT needs to set a valid table name for nested classes mapped to @Entity


  Commit: c74c5b2973de658d1efdf2cfa2ef0335e5469e24
      https://github.com/hibernate/hibernate-search/commit/c74c5b2973de658d1efdf2cfa2ef0335e5469e24
  Author: Sanne Grinovero <sanne at hibernate.org>
  Date:   2017-05-15 (Mon, 15 May 2017)

  Changed paths:
    M elasticsearch/src/test/resources/hibernate.properties
    M orm/src/test/resources/hibernate.properties

  Log Message:
  -----------
  HSEARCH-2716 WorkerTestCase running out of physical JDBC connections as MariaDB requires twice as much

The default Id generation strategy for `@GeneratedValue` on MariaDB is the
SequenceStyleGenerator, which will require a second JDBC connection to be opened
in isolation from the primary connection os the Session.

This implies that limiting the connection pool to 15 isn't enough when the tests
open 15 Sessions; we need at least double of that.

I'm adding one extra connection so to ensure we can drop the table and perform
cleanup even in case of critical test failure.


Compare: https://github.com/hibernate/hibernate-search/compare/7aff95f42199...c74c5b2973de


More information about the hibernate-commits mailing list