Skip to content
This repository has been archived by the owner on Jul 3, 2023. It is now read-only.

[OODT-1027] Fix two test cases fail in cas-metadata module #115

Merged
merged 1 commit into from
Oct 24, 2019

Conversation

NGimhana
Copy link
Member

@NGimhana NGimhana commented Oct 6, 2019

Fix below test cases in CAS-Metadata module. JIRA Issue : OODT-1027

1.org.apache.oodt.cas.metadata.TestMetadata.testGetAllKeysWithName
2.org.apache.oodt.cas.metadata.util.TestMimeTypeUtils.testMimeTypes

@IMS94 IMS94 merged commit c565f24 into apache:development Oct 24, 2019
@IMS94
Copy link
Member

IMS94 commented Oct 24, 2019

@NGimhana Thanks for the PR. Your fix was working, but it wasn't the intended behavior. cas-metadata module has 2 tika-mimetypes.xml files in src/main/resources and src/test/resources. But within the pom, since we have specified the first XML file to be put into the same location as the MimeTypeUtils class, tests are not picking up the other XML. I modified the test case to match a file type available in the first XML.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants