You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by sv...@apache.org on 2017/02/03 16:26:15 UTC

[2/2] brooklyn-library git commit: Closes #83

Closes #83

Refactor LoadTest

- Add AbstractLoadTest (including small test to sanity-check that test actually works!)
- Change to use yams-based blueprints
- Adds SimulatedVanillaSoftwareProcessImpl
- Adds SimulatedExternalMonitor (for setting sensors on entities)

These changes don't try to fix or investigate any performance/scalability issues etc - they just try to make the tests work better, and be more representative of real-world blueprints (e.g. be written in YAML, and use `VanillaSoftwareProcess`).

Requires that https://github.com/apache/brooklyn-server/pull/506 be merged first.


Project: http://git-wip-us.apache.org/repos/asf/brooklyn-library/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-library/commit/e00c4829
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-library/tree/e00c4829
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-library/diff/e00c4829

Branch: refs/heads/master
Commit: e00c48293b81a270d599e4ba8ea966b7b3c4794d
Parents: 35a71ff e46839f
Author: Svetoslav Neykov <sv...@cloudsoftcorp.com>
Authored: Fri Feb 3 18:26:01 2017 +0200
Committer: Svetoslav Neykov <sv...@cloudsoftcorp.com>
Committed: Fri Feb 3 18:26:01 2017 +0200

----------------------------------------------------------------------
 .../qa/load/SimulatedExternalMonitor.java       |  57 +++
 .../qa/load/SimulatedExternalMonitorImpl.java   | 101 +++++
 .../brooklyn/qa/load/SimulatedTheeTierApp.java  |   4 +-
 .../SimulatedVanillaSoftwareProcessImpl.java    | 220 +++++++++++
 .../brooklyn/qa/load/AbstractLoadTest.java      | 378 +++++++++++++++++++
 .../apache/brooklyn/qa/load/LoadSanityTest.java |  52 +++
 .../org/apache/brooklyn/qa/load/LoadTest.java   | 219 ++---------
 7 files changed, 836 insertions(+), 195 deletions(-)
----------------------------------------------------------------------