non Fast-fail, LDAP and the testbed.. And Guages.
Rod Widdowson
rdw at steadingsoftware.com
Mon Jun 17 10:50:52 EDT 2019
> If you mean the tests in the metrics code, probably. I think the problem was that the way I did it, the objects in the metric layer can't get
> constructed if the service isn't there. Maybe some façade is needed, or perhaps with Java 8 we can slide in use of Optional?
That’s the point, the *service* is there, but it just doesn't have a servicableComponent when the gauges are created. So the gauge gets created and all is good it's just that if you ask the gauges about their specialism (metadata resolutions times for instance) they cannot do anything until the service gets itself reloaded successfully for the first time.
I quite agree we need to die if the service isn’t there..
More information about the dev
mailing list