Description
While jclouds now features the awesome BYON mode it might be useful to be able to run compoenent and systems tests without jclouds.
I tried jclouds stub features but unless I'm missing something (I might) there is no way of stubbing a compute service that allows to call runOnNodesMatching.
So my idea is to alter ComputeServiceContextBuilder a bit to account for a new provider ("test") in which case an instance of a StubComputeServiceContext is returned (which features a StubComputeService internal class). This allows to make assertion regarding which nodes were started or not and on which order, which I think is useful.
Attachments
Attachments
Issue Links
- blocks
-
WHIRR-221 Optionally control the order of starting services
- Patch Available