marklogic / marklogic/marklogic-contentpump

mlcp unittest reusing AssignmentManager

Open
#46 0 comments 0 reactions 1 assignee View on GitHub

@vzhang-progress is already working on this.

Since Mar 22, 2019.

bug fix minor mlcp
Dominant language
Java
Stars
37
Forks
32
Avg merge
1h 3m
Merged PRs (30d)
12

Description

The following unit tests failed with my recent checkin:

testImportTransformMedlineZipFast(com.marklogic.contentpump.TestImportAggregate): expected:<[2]> but was:<[0]>
testImportDelimitedText_(com.marklogic.contentpump.TestImportDelimitedText): expected:<[1]> but was:<[0]>

The problem is the AssignmentManager did not get re-initialize after changing database in the test.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.