You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by ge...@apache.org on 2018/04/23 08:53:34 UTC
[2/2] brooklyn-server git commit: Closes #957
Closes #957
SshCommandSensor.testDslWithSshSensor: convert to non-integration
See my comments in PR #953
This now uses the `RecordingSshTool` to execute the ssh command sensor, so the test is quicker. If you run it 100 times, the first time still takes 2 seconds (presumably due to classloading etc), and then it takes about 200ms per test after that.
Also fixes the final assertion, that it is the `newValue` in the sensor.
Project: http://git-wip-us.apache.org/repos/asf/brooklyn-server/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-server/commit/cd40893d
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-server/tree/cd40893d
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-server/diff/cd40893d
Branch: refs/heads/master
Commit: cd40893d11c0a069fc88094492aa6f5aa559ebc4
Parents: 70c9e6a 628f383
Author: Geoff Macartney <ge...@cloudsoftcorp.com>
Authored: Mon Apr 23 09:53:22 2018 +0100
Committer: Geoff Macartney <ge...@cloudsoftcorp.com>
Committed: Mon Apr 23 09:53:22 2018 +0100
----------------------------------------------------------------------
.../camp/brooklyn/SshCommandSensorYamlTest.java | 59 +++++++++++++++++---
1 file changed, 52 insertions(+), 7 deletions(-)
----------------------------------------------------------------------