You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Robert Kanter (JIRA)" <ji...@apache.org> on 2015/10/01 05:44:04 UTC
[jira] [Created] (OOZIE-2378)
org.apache.oozie.client.TestOozieCLI.testAdminInstrumentation is flakey
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)