]> git.basschouten.com Git - openhab-addons.git/commit
[ahawastecollection] Disable AhaCollectionScheduleTest (#12974)
authorWouter Born <github@maindrain.net>
Mon, 20 Jun 2022 18:07:58 +0000 (20:07 +0200)
committerGitHub <noreply@github.com>
Mon, 20 Jun 2022 18:07:58 +0000 (20:07 +0200)
commit23f77ccd629789a78e4a175226367867aaabccea
tree4a79cc09a5e26904d793f2ebf036b9126d7ee4d6
parente17db56bd24c187e6d5352bb0fb292122ef1fa16
[ahawastecollection] Disable AhaCollectionScheduleTest (#12974)

These tests use the real website which causes unwanted load, network connections and test failures.

See: https://github.com/openhab/openhab-addons/actions/runs/2529936944

```
[ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 4.109 s <<< FAILURE! - in org.openhab.binding.ahawastecollection.internal.AhaCollectionScheduleTest
[ERROR] org.openhab.binding.ahawastecollection.internal.AhaCollectionScheduleTest.testGetValuesForRegion  Time elapsed: 3.294 s  <<< ERROR!
org.jsoup.UnsupportedMimeTypeException: Unhandled content type. Must be text/*, application/xml, or application/*+xml
at org.openhab.binding.ahawastecollection.internal.AhaCollectionScheduleTest.testGetValuesForRegion(AhaCollectionScheduleTest.java:42)

[ERROR] org.openhab.binding.ahawastecollection.internal.AhaCollectionScheduleTest.testGetValuesForHannoverCity  Time elapsed: 0.726 s  <<< ERROR!
org.jsoup.UnsupportedMimeTypeException: Unhandled content type. Must be text/*, application/xml, or application/*+xml
at org.openhab.binding.ahawastecollection.internal.AhaCollectionScheduleTest.testGetValuesForHannoverCity(AhaCollectionScheduleTest.java:33)
```

Signed-off-by: Wouter Born <github@maindrain.net>
bundles/org.openhab.binding.ahawastecollection/src/test/java/org/openhab/binding/ahawastecollection/internal/AhaCollectionScheduleTest.java