Robert Kanter created OOZIE-2378:
------------------------------------
Summary:
org.apache.oozie.client.TestOozieCLI.testAdminInstrumentation is flakey
Key: OOZIE-2378
URL: https://issues.apache.org/jira/browse/OOZIE-2378
Project: Oozie
Issue Type: Bug
Components: tests
Affects Versions: trunk
Reporter: Robert Kanter
Assignee: Robert Kanter
Fix For: trunk
{{org.apache.oozie.client.TestOozieCLI.testAdminInstrumentation}} is flakey.
If {{testAdminMetrics()}} happens to run before {{testAdminInstrumentation()}},
then {{V2AdminServlet}} will "remember" to use the {{/metrics}} endpoint
instead of the {{/instrumentation}} endpoint because once set, it never gets
unset. Even though the tests start a new instance of the servlet each time,
the setting is in a static variable, so it persists.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)