GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||
GeezerVison is showing github.com — MLE-33564 Fix the 5 fixable disabled tests by hmadala001 · Pull Request #1985 · marklogic/java-client-api Conversation
|
| File | Description |
|---|---|
marklogic-client-api/src/test/java/com/marklogic/client/test/BulkReadWriteTest.java |
Initializes shared city data before all tests and re-enables bulk load, read, and search coverage. |
marklogic-client-api-functionaltests/src/test/java/com/marklogic/client/functionaltest/TestBiTemporal.java |
Adds UTC query-period construction and re-enables two ALN_CONTAINS tests. |
Review effort: Balanced
Sorry, something went wrong.
There was an error while loading. Please reload this page.
BulkReadWriteTest (testA_BulkLoad, testB_BulkRead, testC_BulkSearch): - Load cities_above_300K.txt in @BeforeAll so the tests no longer depend on running in method-name order; testA_BulkLoad now verifies the loaded count. - Removed @disabled. TestBiTemporal (testPeriodRangeQuerySingleAxisBasedOnALNContains, testPeriodRangeQueryMultiplesAxesBasedOnALNContains): - Query periods are now derived by offsets from the valid times the test writes, and are built in UTC rather than the JVM default timezone, which made the tests fail whenever the JVM was not running in UTC. - Removed @disabled. MLE-33564 Update copyright year to 2026 in BulkReadWriteTest The Validate Copyright Headers check requires modified files to carry the current year. Revert "MLE-33564 Temporarily pin PR build to MarkLogic 12.2.20261005" This reverts commit 493a518. Co-Authored-By: Copilot <[email protected]>
2149752 to
32361f1
Compare
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Great root-cause fix on both fronts:
BulkReadWriteTest (testA_BulkLoad, testB_BulkRead, testC_BulkSearch): Moving cleanUp() and loadCities(new BulkCityWriter()) into @BeforeAll removes the method-ordering dependency while keeping loadCities available for JacksonDatabindTest and PojoFacadeTest.
TestBiTemporal (testPeriodRangeQuerySingleAxisBasedOnALNContains, testPeriodRangeQueryMultiplesAxesBasedOnALNContains): Constructing the Calendar bounds in UTC via utcValidTime(validTime, offsetSeconds) resolves the timezone mismatch between a non-UTC client JVM and the UTC MarkLogic Docker container when StructuredQueryBuilder.period(Calendar, Calendar) serializes the Calendar with its timezone offset.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.