Skip to content

Fix LookupCoordinatorManager and Test for alerts#2743

Merged
fjy merged 1 commit intoapache:masterfrom
metamx:fixlookuptest
Mar 28, 2016
Merged

Fix LookupCoordinatorManager and Test for alerts#2743
fjy merged 1 commit intoapache:masterfrom
metamx:fixlookuptest

Conversation

@drcrallen
Copy link
Copy Markdown
Contributor

@fjy
Copy link
Copy Markdown
Contributor

fjy commented Mar 27, 2016

@drcrallen this fails UT

* Also fixes bad alerting on missing nodes
@drcrallen drcrallen added the Bug label Mar 28, 2016
@drcrallen drcrallen changed the title Fix LookupCoordinatorManagerTest for alerts Fix LookupCoordinatorManager and Test for alerts Mar 28, 2016
@drcrallen drcrallen added this to the 0.9.1 milestone Mar 28, 2016
manager.updateAllOnTier(LOOKUP_TIER, SINGLE_LOOKUP_MAP);
SERVICE_EMITTER.flush();
Assert.assertEquals(1, EVENT_EMITS.get());
EVENT_EMITS.set(0);
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.

this happens in setUp so should not be necessary here

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This is for tearDown when it checks that there are 0 events.

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.

ah ok

@gianm
Copy link
Copy Markdown
Contributor

gianm commented Mar 28, 2016

👍

@fjy fjy merged commit 7a84c26 into apache:master Mar 28, 2016
@drcrallen drcrallen deleted the fixlookuptest branch March 28, 2016 21:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants