Skip to content

MLE-33564 Fix the 5 fixable disabled tests - #1985

Open
hmadala001 wants to merge 2 commits into
developfrom
MLE-33564
Open

hmadala001 wants to merge 2 commits into
developfrom
MLE-33564

Conversation

@hmadala001

Copy link
Copy Markdown

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.

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.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

There are no active review issues for the changes re-enabling bulk and temporal test coverage.

No open issues 🎉

What changed in this PR

Re-enables five disabled tests in the core client and functional test suites by removing bulk-test ordering dependencies and making temporal query periods independent of the JVM’s default timezone.

Changes:

  • Loads city data once in @BeforeAll and changes the bulk-load test to verify the loaded count.
  • Derives temporal query boundaries from shared valid-time constants using UTC and one-second offsets.
  • Removes @Disabled from three bulk tests and two temporal tests.
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

The Validate Copyright Headers check requires modified files to carry the
current year.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants