[Hawkular-commits] [hawkular/hawkular-metrics] 8c9b0c: Ignore CORSITest.groovy if not in Maven build

Stefan Negrea snegrea at redhat.com
Wed Apr 27 14:52:04 EDT 2016


  Branch: refs/heads/master
  Home:   https://github.com/hawkular/hawkular-metrics
  Commit: 8c9b0c3659a095fd8046ca9a93bdb5d8b02b1577
      https://github.com/hawkular/hawkular-metrics/commit/8c9b0c3659a095fd8046ca9a93bdb5d8b02b1577
  Author: Thomas Segismont <tsegismo at redhat.com>
  Date:   2016-04-27 (Wed, 27 Apr 2016)

  Changed paths:
    M integration-tests/rest-tests-jaxrs/src/test/groovy/org/hawkular/metrics/rest/CORSITest.groovy

  Log Message:
  -----------
  Ignore CORSITest.groovy if not in Maven build


  Commit: b879ac489563d5883c1c74c0ad7cb28d206b44b3
      https://github.com/hawkular/hawkular-metrics/commit/b879ac489563d5883c1c74c0ad7cb28d206b44b3
  Author: Thomas Segismont <tsegismo at redhat.com>
  Date:   2016-04-27 (Wed, 27 Apr 2016)

  Changed paths:
    M integration-tests/rest-tests-jaxrs/pom.xml
    M integration-tests/rest-tests-jaxrs/src/test/groovy/org/hawkular/metrics/rest/CountersITest.groovy
    M integration-tests/rest-tests-jaxrs/src/test/groovy/org/hawkular/metrics/rest/GaugeMetricStatisticsITest.groovy
    M integration-tests/rest-tests-jaxrs/src/test/groovy/org/hawkular/metrics/rest/InfluxITest.groovy
    M integration-tests/rest-tests-jaxrs/src/test/groovy/org/hawkular/metrics/rest/RESTTest.groovy

  Log Message:
  -----------
  Use Jackson instead of JSON-lib

Jackson has a deserialization feature which allows to always convert floating values to BigDecimal. This works well with Groovy as literal floating numbers are BigDecimal by default.

This will hopefully avoid much of the intermittent failures we see on Travis (e.g. expected 43.0 but go 43)

Also, simplified success/failure handlers.


  Commit: cde8d0f736b456ba7383df6c609ab1cb97ed49f7
      https://github.com/hawkular/hawkular-metrics/commit/cde8d0f736b456ba7383df6c609ab1cb97ed49f7
  Author: Thomas Segismont <tsegismo at redhat.com>
  Date:   2016-04-27 (Wed, 27 Apr 2016)

  Changed paths:
    M integration-tests/rest-tests-jaxrs/src/test/groovy/org/hawkular/metrics/rest/CORSITest.groovy
    M integration-tests/rest-tests-jaxrs/src/test/groovy/org/hawkular/metrics/rest/RESTTest.groovy

  Log Message:
  -----------
  Fixed CORSITest.groovy


  Commit: c855b456e3b6ab2729b6c201ea2e18dc4122df83
      https://github.com/hawkular/hawkular-metrics/commit/c855b456e3b6ab2729b6c201ea2e18dc4122df83
  Author: Stefan Negrea <snegrea at redhat.com>
  Date:   2016-04-27 (Wed, 27 Apr 2016)

  Changed paths:
    M integration-tests/rest-tests-jaxrs/pom.xml
    M integration-tests/rest-tests-jaxrs/src/test/groovy/org/hawkular/metrics/rest/CORSITest.groovy
    M integration-tests/rest-tests-jaxrs/src/test/groovy/org/hawkular/metrics/rest/CountersITest.groovy
    M integration-tests/rest-tests-jaxrs/src/test/groovy/org/hawkular/metrics/rest/GaugeMetricStatisticsITest.groovy
    M integration-tests/rest-tests-jaxrs/src/test/groovy/org/hawkular/metrics/rest/InfluxITest.groovy
    M integration-tests/rest-tests-jaxrs/src/test/groovy/org/hawkular/metrics/rest/RESTTest.groovy

  Log Message:
  -----------
  Merge pull request #495 from tsegismont/test_fixes

rest-tests enhancements


Compare: https://github.com/hawkular/hawkular-metrics/compare/a6e744f6cf52...c855b456e3b6


More information about the hawkular-commits mailing list