sziszo opened a new pull request #3234:
URL: https://github.com/apache/ambari/pull/3234
## What changes were proposed in this pull request?
Fixed the unit tests in the Ambari Metrics Host Aggregator module.
```
Results :Tests in error:
AggregatorWebServiceTest.<init>:45->JerseyTest.<init>:217->JerseyTest.getContainer:335
» ArrayIndexOutOfBounds
AggregatorWebServiceTest.<init>:45->JerseyTest.<init>:217->JerseyTest.getContainer:335
» ArrayIndexOutOfBounds
AggregatorWebServiceTest.<init>:45->JerseyTest.<init>:217->JerseyTest.getContainer:335
» ArrayIndexOutOfBoundsTests run: 18, Failures: 0, Errors: 3, Skipped: 0[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] ambari-utility 1.0.0.0-SNAPSHOT .................... SUCCESS [ 10.591 s]
[INFO] ambari-metrics 2.7.5.0.0 ........................... SUCCESS [ 0.525 s]
[INFO] Ambari Metrics Common 2.7.5.0.0 .................... SUCCESS [ 57.949 s]
[INFO] Ambari Metrics Hadoop Sink 2.7.5.0.0 ............... SUCCESS [ 18.953 s]
[INFO] Ambari Metrics Flume Sink 2.7.5.0.0 ................ SUCCESS [ 14.128 s]
[INFO] Ambari Metrics Kafka Sink 2.7.5.0.0 ................ SUCCESS [ 11.566 s]
[INFO] Ambari Metrics Storm Sink 2.7.5.0.0 ................ SUCCESS [ 7.246 s]
[INFO] Ambari Metrics Storm Sink (Legacy) 2.7.5.0.0 ....... SUCCESS [ 6.247 s]
[INFO] Ambari Metrics Collector 2.7.5.0.0 ................. SUCCESS [05:12 min]
[INFO] Ambari Metrics Monitor 2.7.5.0.0 ................... SUCCESS [ 2.775 s]
[INFO] Ambari Metrics Grafana 2.7.5.0.0 ................... SUCCESS [ 4.479 s]
[INFO] Ambari Metrics Host Aggregator 2.7.5.0.0 ........... FAILURE [ 5.123 s]
[INFO] Ambari Metrics Assembly 2.7.5.0.0 .................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 07:32 min
[INFO] Finished at: 2020-09-28T23:07:17Z
[INFO] ------------------------------------------------------------------------
```
## How was this patch tested?
manual tests
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
|