Philipp Dallig created ZEPPELIN-5999:
----------------------------------------

             Summary: Remove instance Objects out of Zeppelin
                 Key: ZEPPELIN-5999
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-5999
             Project: Zeppelin
          Issue Type: Task
            Reporter: Philipp Dallig
            Assignee: Philipp Dallig


Currently Zeppelin has some static instance objects (PluginManager, 
ZeppelinConfiguration, ConfigStorage) which can lead to strange behavior when 
we change the objects during tests.

Zeppelin has some workarounds:
 - ZeppelinConfiguration.reset();
 - PluginManager.reset();

But these workarounds are not thread-safe and we cannot start multiple 
ZeppelinServers at once.

We should also not use `System.setProperty(..., ...)` to change the 
configuration during the test runtime. This has an effect on other tests



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to