[hibernate-commits] [hibernate/hibernate-search] 45f999: HSEARCH-2931 Avoid mapping error in JSR-352 tests ...

GitHub noreply at github.com
Thu Oct 26 14:04:36 EDT 2017


  Branch: refs/heads/master
  Home:   https://github.com/hibernate/hibernate-search
  Commit: 45f999c2d1c66150a9d6c3e987a696a3746286dd
      https://github.com/hibernate/hibernate-search/commit/45f999c2d1c66150a9d6c3e987a696a3746286dd
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2017-10-26 (Thu, 26 Oct 2017)

  Changed paths:
    M jsr352/core/src/test/java/org/hibernate/search/jsr352/massindexing/test/entity/Person.java

  Log Message:
  -----------
  HSEARCH-2931 Avoid mapping error in JSR-352 tests with MariaDB


  Commit: 8d147e76b60d0784bc080f1c82b249d6b19bd992
      https://github.com/hibernate/hibernate-search/commit/8d147e76b60d0784bc080f1c82b249d6b19bd992
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2017-10-26 (Thu, 26 Oct 2017)

  Changed paths:
    M integrationtest/jsr352/pom.xml

  Log Message:
  -----------
  HSEARCH-2930 Make JSR-352 integration tests compatible with an AWS setup


  Commit: 5d7b707d859c800155f6cf99500bbde2b12654d1
      https://github.com/hibernate/hibernate-search/commit/5d7b707d859c800155f6cf99500bbde2b12654d1
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2017-10-26 (Thu, 26 Oct 2017)

  Changed paths:
    M integrationtest/jsr352/src/test/java/org/hibernate/search/jsr352/massindexing/BatchIndexingJobIT.java
    M integrationtest/jsr352/src/test/java/org/hibernate/search/jsr352/massindexing/MassIndexingJobWithCompositeIdIT.java
    M jsr352/core/src/test/java/org/hibernate/search/jsr352/test/util/JobTestUtil.java

  Log Message:
  -----------
  HSEARCH-2932 Increase timeouts in JSR-352 ITS to avoid failures on slow platforms

The symptoms were that some requests started failing exactly 10 seconds
after starting the job because of non-existing index.

Incidentally, 10s was the job timeout. What happened was the test
stopped waiting for the job to complete, and closed the SessionFactory
brutally, resulting in the indexes being automatically dropped
before the pending works had a chance to execute (see HSEARCH-2934).


Compare: https://github.com/hibernate/hibernate-search/compare/e0c18e6c97aa...5d7b707d859c


More information about the hibernate-commits mailing list