Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AMBARI-22904] Fix mpack-related unit tests #839

Merged
merged 1 commit into from
Apr 4, 2018

Conversation

mradha25
Copy link
Contributor

mpack API change - #486 , Fix the remaining mpack-related unit tests?

[ERROR] MpackResourceProviderTest.testGetResourcesMpacks:122 expected:<2> but was:<0>
[ERROR] MpackResourceProviderTest.testGetResourcesMpackId:189 » NoSuchResource
(Note these occur after – before that change, all 3 test methods throw NullPointer instead.)

How was this patch tested?

Run Mpack Unit Tests

Please review Ambari Contributing Guide before opening a pull request.

@@ -32,5 +32,6 @@ public void testDefinitionNames() {
ResourceDefinition def = new MpackResourceDefinition();
assertEquals("mpack", def.getSingularName());
assertEquals("mpacks", def.getPluralName());

Copy link
Contributor

Choose a reason for hiding this comment

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

Seems to be unnecessary.

@mradha25 mradha25 merged commit 48b9007 into apache:branch-feature-AMBARI-14714 Apr 4, 2018
@mradha25 mradha25 deleted the AMBARI-22904 branch April 4, 2018 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants