Monitor.HOSTNAME we can do easily. for the vmid we were using orbitz properties to set it, if we want to add vmid initialization back in, what should we initialize it to, just some default value and anyone can pass a property to override it?
On Tue, Sep 16, 2008 at 9:42 PM, Doug Barth <[EMAIL PROTECTED]> wrote: > On Sep 16, 2008, at 9:10 PM, Ray Krueger wrote: > > Anyone have any hints where the usual suspects are in that sort of > failure? For instance, when running the tests in IDEA the > MonitoringEngineTest fails consistently, unless I run it alone, then > it passes fine. > > > Any test that depends on the behavior of a running MonitoringEngine should > have "MonitoringEngine.getInstance().restart();" in its setup method. That > should (assuming there aren't any bugs) reset the MonitoringEngine to a > valid state and solve any inter test dependencies. > > The one potential issue I did run into previously was the dependence on > system properties. There is no way to clear a system property, so some tests > were expecting things like the VMID to not be setup, but it was set if run > in a different order. It looks like that logic was moved out of the > MonitoringEngine, which is good. However, looks like that logic is > completely gone from the codebase. > > Greg/Stephen, I thought we had decided to keep the initialization of > Monitor.HOSTNAME and Monitor.VMID in the codebase. > -- > Doug Barth > > > > _______________________________________________ > Mailing list: > https://launchpad.net/~erma-core<https://launchpad.net/%7Eerma-core> > Post to : erma-core@lists.launchpad.net > Unsubscribe : > https://launchpad.net/~erma-core<https://launchpad.net/%7Eerma-core> > More help : https://help.launchpad.net/ListHelp > >
_______________________________________________ Mailing list: https://launchpad.net/~erma-core Post to : erma-core@lists.launchpad.net Unsubscribe : https://launchpad.net/~erma-core More help : https://help.launchpad.net/ListHelp