Uploaded image for project: 'Apache Whirr (retired)'
  1. Apache Whirr (retired)
  2. WHIRR-243

Allow to run component tests in memory

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.7.0
    • core
    • None

    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

        1. 0001-WHIRR-243-Corrected-chkstyle-and-rat-problems.patch
          24 kB
          David Alves
        2. WHIRR-243.patch
          22 kB
          Andrei Savu
        3. WHIRR-243.patch
          25 kB
          David Alves
        4. WHIRR-243.patch
          22 kB
          David Alves
        5. WHIRR-243.patch
          19 kB
          David Alves
        6. WHIRR-243.patch
          16 kB
          Andrei Savu
        7. WHIRR-243.patch
          16 kB
          David Alves
        8. WHIRR-243.patch
          16 kB
          Adrian Cole
        9. WHIRR-243.patch
          13 kB
          Adrian Cole
        10. WHIRR-243.patch
          10 kB
          Adrian Cole
        11. WHIRR-243.patch
          7 kB
          Adrian Cole
        12. WHIRR-243.patch
          11 kB
          David Alves
        13. WHIRR-243-LogOutput.txt
          62 kB
          David Alves
        14. WHIRR-243-Mod-Delay-Init-Script-Return.log
          298 kB
          David Alves
        15. WHIRR-243-Mod-Delay-Init-Script-Return.patch
          22 kB
          David Alves
        16. WHIRR-243-only-LogDryRunModule.patch
          24 kB
          David Alves

        Issue Links

          Activity

            People

              dr-alves David Alves
              dr-alves David Alves
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: