SAP/neonbee

Unstable test

halber opened this issue · 0 comments

Describe the bug
There is an unstable unit test that I have disabled. Unfortunately, this test is fine when I run it on my computer.

To Reproduce
Enable the test again.

Expected behavior
Test is always green.

Environment:
NeonBee Test Java 11.0 on ubuntu-18.04 environment

Logs

ConfiguredDataVerticleMetricsTest > backend meter registry is null FAILED
[1104](https://github.com/SAP/neonbee/runs/7514974393?check_suite_focus=true#step:5:1105)
    value of            : configureMetricsReporting(...)
[1105](https://github.com/SAP/neonbee/runs/7514974393?check_suite_focus=true#step:5:1106)
    expected instance of: io.neonbee.data.internal.metrics.NoopDataVerticleMetrics
[1106](https://github.com/SAP/neonbee/runs/7514974393?check_suite_focus=true#step:5:1107)
    but was instance of : io.neonbee.data.internal.metrics.DataVerticleMetricsImpl
[1107](https://github.com/SAP/neonbee/runs/7514974393?check_suite_focus=true#step:5:1108)
    with value          : io.neonbee.data.internal.metrics.DataVerticleMetricsImpl@4ba9bd7c
[1108](https://github.com/SAP/neonbee/runs/7514974393?check_suite_focus=true#step:5:1109)
        at app//io.neonbee.data.internal.metrics.ConfiguredDataVerticleMetricsTest.backendMeterRegistriesNull(ConfiguredDataVerticleMetricsTest.java:65)

Full build log: 5_Build and analyze.txt