[hibernate-commits] [hibernate/hibernate-search] 28fd48: HSEARCH-2481 Move generic maven-failsafe-plugin co...

GitHub noreply at github.com
Thu Jun 1 03:00:17 EDT 2017


  Branch: refs/heads/master
  Home:   https://github.com/hibernate/hibernate-search
  Commit: 28fd48d49e7a77ab0758f5828bc7379cbf361701
      https://github.com/hibernate/hibernate-search/commit/28fd48d49e7a77ab0758f5828bc7379cbf361701
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2017-05-31 (Wed, 31 May 2017)

  Changed paths:
    M backends/jgroups/pom.xml
    M elasticsearch/pom.xml
    M integrationtest/narayana/pom.xml
    M integrationtest/spring/pom.xml
    M integrationtest/wildfly/pom.xml
    M pom.xml

  Log Message:
  -----------
  HSEARCH-2481 Move generic maven-failsafe-plugin configuration to plugin management


  Commit: 8b5303c3792251eb603f5b703d9e7d4aa3b22546
      https://github.com/hibernate/hibernate-search/commit/8b5303c3792251eb603f5b703d9e7d4aa3b22546
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2017-05-31 (Wed, 31 May 2017)

  Changed paths:
    M pom.xml

  Log Message:
  -----------
  HSEARCH-2481 Align the failsafe configuration on surefire's


  Commit: b090daba5410fe3926dba22841088a6d1fd650f6
      https://github.com/hibernate/hibernate-search/commit/b090daba5410fe3926dba22841088a6d1fd650f6
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2017-05-31 (Wed, 31 May 2017)

  Changed paths:
    M engine/pom.xml
    M orm/pom.xml
    M pom.xml

  Log Message:
  -----------
  HSEARCH-2481 Move byteman tools.jar detection to the parent pom


  Commit: 957e8b5b099585e64c8b0886be79878cf1d8477b
      https://github.com/hibernate/hibernate-search/commit/957e8b5b099585e64c8b0886be79878cf1d8477b
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2017-05-31 (Wed, 31 May 2017)

  Changed paths:
    M elasticsearch/pom.xml

  Log Message:
  -----------
  HSEARCH-2481 Strictly match -engine test dependencies in -elasticsearch

Just in case the strange Byteman behavior is related to missing
optional dependencies.


  Commit: 75a6916ff35a7dd4ce09ad52f7708f30f364d93f
      https://github.com/hibernate/hibernate-search/commit/75a6916ff35a7dd4ce09ad52f7708f30f364d93f
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2017-05-31 (Wed, 31 May 2017)

  Changed paths:
    M elasticsearch/pom.xml

  Log Message:
  -----------
  HSEARCH-2481 Do not allow the maven-failsafe-plugin to scan the whole classpath for tests

This avoids in particular a problem where byteman classes were being
loaded before the byteman agent was launched, which resulted in two
versions of byteman classes being present: one loaded by the system
classloader (when failsafe scanned the whole classpath), and one when
the byteman agent was launched and added its JAR to the bootstrap
classloader.

For the record, the class that triggered the loading of byteman classes
was org.hibernate.search.testsupport.BytemanHelper, which references
org.jboss.byteman.rule.Rule in its constructor (among others, but
that's the main problem).


  Commit: a6ce4ea6873d8fc7d95d1b91f75280a53622d10b
      https://github.com/hibernate/hibernate-search/commit/a6ce4ea6873d8fc7d95d1b91f75280a53622d10b
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2017-05-31 (Wed, 31 May 2017)

  Changed paths:
    M elasticsearch/src/test/java/org/hibernate/search/elasticsearch/test/DefaultElasticsearchClientFactoryTest.java
    M engine/src/test/java/org/hibernate/search/test/searchfactory/SearchFactoryTest.java
    M orm/src/test/java/org/hibernate/search/test/batchindexing/MassIndexerErrorReportingTest.java
    M orm/src/test/java/org/hibernate/search/test/configuration/integration/HibernateSearchSessionFactoryObserverTest.java
    M orm/src/test/java/org/hibernate/search/test/errorhandling/ErrorHandlingDuringDocumentCreationTest.java
    M orm/src/test/java/org/hibernate/search/test/query/facet/FacetIndexingFailureTest.java
    M orm/src/test/java/org/hibernate/search/test/query/initandlookup/CriteriaObjectInitializerAndHierarchyInheritanceTest.java
    M orm/src/test/java/org/hibernate/search/test/query/initandlookup/ObjectLookupAndDatabaseRetrievalConfigurationTest.java
    M orm/src/test/java/org/hibernate/search/test/query/objectloading/ObjectLoaderHelperTest.java

  Log Message:
  -----------
  HSEARCH-2481 Enable Byteman-based tests with Elasticsearch


  Commit: b1166e259f4fe17fc06dca09bbc82f834f029119
      https://github.com/hibernate/hibernate-search/commit/b1166e259f4fe17fc06dca09bbc82f834f029119
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2017-06-01 (Thu, 01 Jun 2017)

  Changed paths:
    M engine/src/test/java/org/hibernate/search/testsupport/serialization/SerializationTestHelper.java
    A engine/src/test/java/org/hibernate/search/testsupport/serialization/SerializationTestHelperTest.java

  Log Message:
  -----------
  HSEARCH-2481 Make sure SerializationTestHelper test is executed

It used not to be executed in the -engine module, because the test
class didn't end with "Test".


Compare: https://github.com/hibernate/hibernate-search/compare/b58fac78cc9a...b1166e259f4f


More information about the hibernate-commits mailing list