Closed ahgittin closed 10 years ago
Brooklyn Central » brooklyn #2438 SUCCESS This pull request looks good (what's this?)
As you say, this seems like the pragmatic solution @ahgittin There are some small stylistic changes I'd suggest before merging?
In the spirit of pragmatism, Im happy to merge since this fixes the @buildhive problems we're having just now, and address the stylistic concerns in a future PR?
Agreed; merging now to fix buildhive errors.
p.s. @grkvlt don't use @buildhive
unless you want the folk behind buildhive to pay attention. Or do you think they always ignore it when you say @buildhive
?
fixes the intermittent error we've been getting, such as:
https://buildhive.cloudbees.com/job/brooklyncentral/job/brooklyn/2413/io.brooklyn$brooklyn-core/testReport/brooklyn.entity.rebind/RebindCatalogEntityTest/testRestoresAppFromCatalogClassloader/
does so by blocking if the catalog is not yet fully loaded when someone tries to add something manually to it. there are better fixes as noted in the code (manual additions could be done in bg) but this is a quicker pragmatic workaround.