Branch: refs/heads/master
Home:
https://github.com/hibernate/hibernate-search
Commit: 2097fda75f6d6771d7a2b9b8761ebdff79c4cce2
https://github.com/hibernate/hibernate-search/commit/2097fda75f6d6771d7a2...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-10-29 (Thu, 29 Oct 2020)
Changed paths:
M
backend/lucene/src/test/java/org/hibernate/search/backend/lucene/lowlevel/writer/impl/LoggerInfoStreamTest.java
M
util/internal/integrationtest/v5migrationhelper/src/main/java/org/hibernate/search/test/util/impl/ExpectedLog4jLog.java
M
util/internal/test/src/main/java/org/hibernate/search/util/impl/test/rule/ExpectedLog4jLog.java
M
util/internal/test/src/main/java/org/hibernate/search/util/impl/test/rule/log4j/Log4j2ConfigurationAccessor.java
Log Message:
-----------
HSEARCH-4077 Scope ExpectedLog4jLog to a given logger instead of the root logger
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: 543b535defb35d410c4d78ef5f1eaa64e97cd45a
https://github.com/hibernate/hibernate-search/commit/543b535defb35d410c4d...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-10-29 (Thu, 29 Oct 2020)
Changed paths:
M
util/internal/test/src/main/java/org/hibernate/search/util/impl/test/rule/log4j/LogChecker.java
Log Message:
-----------
HSEARCH-4078 Properly display Log4j2 events as they were received when an
ExpectedLog4jLog assertion fails
If we don't use toImmutable(), the event can be reused and its message
erased.
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: 4a73193326cd56f5043c253591bab6ff3229f938
https://github.com/hibernate/hibernate-search/commit/4a73193326cd56f5043c...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-10-29 (Thu, 29 Oct 2020)
Changed paths:
M
util/internal/test/src/main/java/org/hibernate/search/util/impl/test/rule/log4j/LogChecker.java
Log Message:
-----------
HSEARCH-4078 Display matching events as well as extra events upon failing
ExpectedLog4jLog assertion
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: 77e2afbb58be6737527deb7bc96f8e76cab12213
https://github.com/hibernate/hibernate-search/commit/77e2afbb58be6737527d...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-10-29 (Thu, 29 Oct 2020)
Changed paths:
M
util/internal/test/src/main/java/org/hibernate/search/util/impl/test/rule/log4j/LogChecker.java
Log Message:
-----------
HSEARCH-4078 Make log checking in ExpectedLog4jLog thread-safe
Because we sometimes check logs that are added concurrently from
multiple threads, and if we aren't careful about being thread-safe, we
can miss some log events.
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Compare:
https://github.com/hibernate/hibernate-search/compare/bb2e80bbdbc9...77e2...