brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aledsage <...@git.apache.org>
Subject [GitHub] incubator-brooklyn pull request: Fix various tests
Date Thu, 13 Nov 2014 13:32:59 GMT
GitHub user aledsage opened a pull request:

    https://github.com/apache/incubator-brooklyn/pull/326

    Fix various tests

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/aledsage/incubator-brooklyn fix/various-tests-20141113

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-brooklyn/pull/326.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #326
    
----
commit b77421f8c7b2481b22acd04f1ce9aa368ac5e280
Author: Aled Sage <aled.sage@gmail.com>
Date:   2014-11-13T10:55:21Z

    Fix ApplicationResourceIntegrationTest
    
    - can get back json or plain string from
      client().resource(stateSensor).get(String.class);
      accept either

commit 3a34862786fd1be8f9d0fe609fec9fa8cef5c0d6
Author: Aled Sage <aled.sage@gmail.com>
Date:   2014-11-13T10:56:17Z

    Fix MemoryUsageTrackerTest
    
    - was non-deterministic (asserting memory usage immediately, before
      listener had been called by GC)

commit 956514e2986a79b3e0b2faafecedf4d42c636e5a
Author: Aled Sage <aled.sage@gmail.com>
Date:   2014-11-13T11:19:34Z

    Fix feed rebind
    
    - Was expecting xpath /feed/id, but was
      /brooklyn.entity.rebind.dto.BasicFeedMemento/id
    - Changed XmlMementoSerializer to use “feed”
    - Integration test failing was NginxRebindWithHaIntegrationTest.testChangeModeFailureStopsTasksButHappyUponResumption

commit ce6744d7f523b553a5b6cf71c00d0f5cb3733b1d
Author: Aled Sage <aled.sage@gmail.com>
Date:   2014-11-13T12:26:37Z

    Fix yaml use of SshCommandSensor
    
    - Was causing failure of VanillaBashNetcatYamlTest
    - SshCommandSensor constructor expects ConfigBag, rather than Map.
    - Change BrooklynYamlTypeInstantiator.newInstance to look for a
      <init>(ConfigBag) constructor as well.
    - Fix `Class AddSensor.getType("String")` so it tries prepending
      "java.lang." as well
    - set poll period to 100ms in yaml (instead of default 5 minutes)

commit b1ca85f61627e0fc4b7f86e31c1056ceb3914be2
Author: Aled Sage <aled.sage@gmail.com>
Date:   2014-11-13T12:48:59Z

    Fix SshCommandIntegrationTest
    
    - Change sensor period to 100ms, from default 5 mins.
      Otherwise if first poll happens before serviceUp=true, it will
      timeout in 30 seconds without a second poll.

commit 3fd9046ec0143af68f4101529402595dae5f3dd4
Author: Aled Sage <aled.sage@gmail.com>
Date:   2014-11-13T12:50:40Z

    Fix HttpRequestSensorTest.testHttpSensor
    
    - Change sensor period to 100ms, from default 5 mins.
      Otherwise if first poll happens before serviceUp=true, it will
      timeout in 30 seconds without a second poll.

commit 7d315fd6774f5cb56e9e9a93bf644ffd36f6c0c3
Author: Aled Sage <aled.sage@gmail.com>
Date:   2014-11-13T12:58:55Z

    BROOKLYN-83: fix SensorResourceTest
    
    - On getting a sensor, if no "Accepts" header is given, then we don't 
      control whether json or plain text comes back.
      It is dependent on the method order, which is compiler-specific.
    - Therefore delete the test that gave no Accepts and then asserted
      it was json.

commit 3f4328c625fbcbb66eef8b9883a15b06530d8902
Author: Aled Sage <aled.sage@gmail.com>
Date:   2014-11-13T13:19:51Z

    BROOKLYN-85: fix FixedListMachineProvisioningLocationTest

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message