Skip to content

Significantly improve performance for StreetAddressTest #212

Significantly improve performance for StreetAddressTest

Significantly improve performance for StreetAddressTest #212

GitHub Actions / JUnit Test Report failed Oct 15, 2024 in 0s

114 tests run, 95 passed, 1 skipped, 18 failed.

Annotations

Check failure on line 100 in josm/plugins/MapWithAI/src/test/unit/org/openstreetmap/josm/plugins/mapwithai/actions/AddMapWithAILayerActionTest.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

AddMapWithAILayerActionTest.testAddMapWithAILayerActionTest()

expected: not <null>
Raw output
org.opentest4j.AssertionFailedError: expected: not <null>
	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:152)
	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
	at org.junit.jupiter.api.AssertNotNull.failNull(AssertNotNull.java:49)
	at org.junit.jupiter.api.AssertNotNull.assertNotNull(AssertNotNull.java:35)
	at org.junit.jupiter.api.AssertNotNull.assertNotNull(AssertNotNull.java:30)
	at org.junit.jupiter.api.Assertions.assertNotNull(Assertions.java:304)
	at org.openstreetmap.josm.plugins.mapwithai.actions.AddMapWithAILayerActionTest.setup(AddMapWithAILayerActionTest.java:100)
	at java.base/java.lang.reflect.Method.invoke(Method.java:569)
	at java.base/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)

Check failure on line 100 in josm/plugins/MapWithAI/src/test/unit/org/openstreetmap/josm/plugins/mapwithai/actions/AddMapWithAILayerActionTest.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

AddMapWithAILayerActionTest.testNonRegression22683(WireMockRuntimeInfo)

expected: not <null>
Raw output
org.opentest4j.AssertionFailedError: expected: not <null>
	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:152)
	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
	at org.junit.jupiter.api.AssertNotNull.failNull(AssertNotNull.java:49)
	at org.junit.jupiter.api.AssertNotNull.assertNotNull(AssertNotNull.java:35)
	at org.junit.jupiter.api.AssertNotNull.assertNotNull(AssertNotNull.java:30)
	at org.junit.jupiter.api.Assertions.assertNotNull(Assertions.java:304)
	at org.openstreetmap.josm.plugins.mapwithai.actions.AddMapWithAILayerActionTest.setup(AddMapWithAILayerActionTest.java:100)
	at java.base/java.lang.reflect.Method.invoke(Method.java:569)
	at java.base/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)

Check failure on line 100 in josm/plugins/MapWithAI/src/test/unit/org/openstreetmap/josm/plugins/mapwithai/actions/AddMapWithAILayerActionTest.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

AddMapWithAILayerActionTest.testRemoteIcon(WireMockRuntimeInfo)

expected: not <null>
Raw output
org.opentest4j.AssertionFailedError: expected: not <null>
	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:152)
	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
	at org.junit.jupiter.api.AssertNotNull.failNull(AssertNotNull.java:49)
	at org.junit.jupiter.api.AssertNotNull.assertNotNull(AssertNotNull.java:35)
	at org.junit.jupiter.api.AssertNotNull.assertNotNull(AssertNotNull.java:30)
	at org.junit.jupiter.api.Assertions.assertNotNull(Assertions.java:304)
	at org.openstreetmap.josm.plugins.mapwithai.actions.AddMapWithAILayerActionTest.setup(AddMapWithAILayerActionTest.java:100)
	at java.base/java.lang.reflect.Method.invoke(Method.java:569)
	at java.base/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)

Check failure on line 68 in josm/plugins/MapWithAI/src/test/unit/org/openstreetmap/josm/plugins/mapwithai/backend/BoundingBoxMapWithAIDownloaderTest.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

BoundingBoxMapWithAIDownloaderTest.testThirdPartyConflation(WireMockRuntimeInfo)

expected: <1> but was: <2>
Raw output
org.opentest4j.AssertionFailedError: expected: <1> but was: <2>
	at org.openstreetmap.josm.plugins.mapwithai.backend.BoundingBoxMapWithAIDownloaderTest.testThirdPartyConflation(BoundingBoxMapWithAIDownloaderTest.java:68)

Check failure on line 68 in josm/plugins/MapWithAI/src/test/unit/org/openstreetmap/josm/plugins/mapwithai/backend/DownloadListenerTest.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

DownloadListenerTest.testDataSourceChange()

Condition with Lambda expression in org.openstreetmap.josm.plugins.mapwithai.backend.DownloadListenerTest was not fulfilled within 5 seconds.
Raw output
org.awaitility.core.ConditionTimeoutException: Condition with Lambda expression in org.openstreetmap.josm.plugins.mapwithai.backend.DownloadListenerTest was not fulfilled within 5 seconds.
	at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)
	at org.awaitility.core.CallableCondition.await(CallableCondition.java:78)
	at org.awaitility.core.CallableCondition.await(CallableCondition.java:26)
	at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:1006)
	at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:975)
	at org.openstreetmap.josm.plugins.mapwithai.backend.DownloadListenerTest.testDataSourceChange(DownloadListenerTest.java:68)

Check failure on line 40 in josm/plugins/MapWithAI/src/test/unit/org/openstreetmap/josm/plugins/mapwithai/backend/DownloadMapWithAITaskTest.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

DownloadMapWithAITaskTest.testDownloadOsmServerReaderDownloadParamsBoundsProgressMonitor()

Index 0 out of bounds for length 0
Raw output
java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0
	at org.openstreetmap.josm.plugins.mapwithai.backend.DownloadMapWithAITaskTest.testDownloadOsmServerReaderDownloadParamsBoundsProgressMonitor(DownloadMapWithAITaskTest.java:40)

Check failure on line 112 in josm/plugins/MapWithAI/src/test/unit/org/openstreetmap/josm/plugins/mapwithai/backend/GetDataRunnableTest.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

GetDataRunnableTest.testRegressionTicket46()

expected: <false> but was: <true>
Raw output
org.opentest4j.AssertionFailedError: expected: <false> but was: <true>
	at org.openstreetmap.josm.plugins.mapwithai.backend.GetDataRunnableTest.testRegressionTicket46(GetDataRunnableTest.java:112)

Check failure on line 51 in josm/plugins/MapWithAI/src/test/unit/org/openstreetmap/josm/plugins/mapwithai/backend/MapWithAIAvailabilityTest.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

MapWithAIAvailabilityTest.testHasDataLatLon()

There should be data in the US ==> expected: <true> but was: <false>
Raw output
org.opentest4j.AssertionFailedError: There should be data in the US ==> expected: <true> but was: <false>
	at org.openstreetmap.josm.plugins.mapwithai.backend.MapWithAIAvailabilityTest.testHasDataLatLon(MapWithAIAvailabilityTest.java:51)

Check failure on line 89 in josm/plugins/MapWithAI/src/test/unit/org/openstreetmap/josm/plugins/mapwithai/backend/MapWithAIAvailabilityTest.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

MapWithAIAvailabilityTest.testGetPrivacyUrls()

expected: <false> but was: <true>
Raw output
org.opentest4j.AssertionFailedError: expected: <false> but was: <true>
	at org.openstreetmap.josm.plugins.mapwithai.backend.MapWithAIAvailabilityTest.testGetPrivacyUrls(MapWithAIAvailabilityTest.java:89)

Check failure on line 45 in josm/plugins/MapWithAI/src/test/unit/org/openstreetmap/josm/plugins/mapwithai/backend/MapWithAIAvailabilityTest.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

MapWithAIAvailabilityTest.testHasDataBBox()

There should be data in the US ==> expected: <true> but was: <false>
Raw output
org.opentest4j.AssertionFailedError: There should be data in the US ==> expected: <true> but was: <false>
	at org.openstreetmap.josm.plugins.mapwithai.backend.MapWithAIAvailabilityTest.testHasDataBBox(MapWithAIAvailabilityTest.java:45)

Check failure on line 59 in josm/plugins/MapWithAI/src/test/unit/org/openstreetmap/josm/plugins/mapwithai/backend/MapWithAIAvailabilityTest.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

MapWithAIAvailabilityTest.testGetDataLatLon()

The US should have highway data ==> expected: <true> but was: <false>
Raw output
org.opentest4j.AssertionFailedError: The US should have highway data ==> expected: <true> but was: <false>
	at org.openstreetmap.josm.plugins.mapwithai.backend.MapWithAIAvailabilityTest.testGetDataLatLon(MapWithAIAvailabilityTest.java:59)

Check failure on line 94 in josm/plugins/MapWithAI/src/test/unit/org/openstreetmap/josm/plugins/mapwithai/backend/MapWithAIAvailabilityTest.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

MapWithAIAvailabilityTest.testGetTOSUrls()

expected: <false> but was: <true>
Raw output
org.opentest4j.AssertionFailedError: expected: <false> but was: <true>
	at org.openstreetmap.josm.plugins.mapwithai.backend.MapWithAIAvailabilityTest.testGetTOSUrls(MapWithAIAvailabilityTest.java:94)

Check failure on line 78 in josm/plugins/MapWithAI/src/test/unit/org/openstreetmap/josm/plugins/mapwithai/backend/MapWithAIAvailabilityTest.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

MapWithAIAvailabilityTest.testNoURLs()

The US should have highway data ==> expected: <true> but was: <false>
Raw output
org.opentest4j.AssertionFailedError: The US should have highway data ==> expected: <true> but was: <false>
	at org.openstreetmap.josm.plugins.mapwithai.backend.MapWithAIAvailabilityTest.testGetDataLatLon(MapWithAIAvailabilityTest.java:59)
	at org.openstreetmap.josm.plugins.mapwithai.backend.MapWithAIAvailabilityTest.testNoURLs(MapWithAIAvailabilityTest.java:78)

Check failure on line 161 in josm/plugins/MapWithAI/src/test/unit/org/openstreetmap/josm/plugins/mapwithai/backend/MapWithAIDataUtilsTest.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

MapWithAIDataUtilsTest.testMapWithAIURLPreferences()

There should be two urls (fakeUrl and the default) ==> expected: <2> but was: <1>
Raw output
org.opentest4j.AssertionFailedError: There should be two urls (fakeUrl and the default) ==> expected: <2> but was: <1>
	at org.openstreetmap.josm.plugins.mapwithai.backend.MapWithAIDataUtilsTest.testMapWithAIURLPreferences(MapWithAIDataUtilsTest.java:161)

Check failure on line 70 in josm/plugins/MapWithAI/src/test/unit/org/openstreetmap/josm/plugins/mapwithai/backend/MapWithAIDataUtilsTest.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

MapWithAIDataUtilsTest.testGetData()

There should only be one way in the testBBox ==> expected: <1> but was: <0>
Raw output
org.opentest4j.AssertionFailedError: There should only be one way in the testBBox ==> expected: <1> but was: <0>
	at org.openstreetmap.josm.plugins.mapwithai.backend.MapWithAIDataUtilsTest.testGetData(MapWithAIDataUtilsTest.java:70)

Check failure on line 83 in josm/plugins/MapWithAI/src/test/unit/org/openstreetmap/josm/plugins/mapwithai/backend/MapWithAIDataUtilsTest.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

MapWithAIDataUtilsTest.testGetDataMultiple()

There should be two data sources ==> expected: <2> but was: <0>
Raw output
org.opentest4j.AssertionFailedError: There should be two data sources ==> expected: <2> but was: <0>
	at org.openstreetmap.josm.plugins.mapwithai.backend.MapWithAIDataUtilsTest.testGetDataMultiple(MapWithAIDataUtilsTest.java:83)

Check failure on line 190 in josm/plugins/MapWithAI/src/test/unit/org/openstreetmap/josm/plugins/mapwithai/backend/MapWithAILayerTest.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

MapWithAILayerTest.testSelection()

expected: <1> but was: <0>
Raw output
org.opentest4j.AssertionFailedError: expected: <1> but was: <0>
	at org.openstreetmap.josm.plugins.mapwithai.backend.MapWithAILayerTest.testSelection(MapWithAILayerTest.java:190)

Check failure on line 76 in josm/plugins/MapWithAI/src/test/unit/org/openstreetmap/josm/plugins/mapwithai/backend/MapWithAIRemoteControlTest.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

MapWithAIRemoteControlTest.testNominalRequest()

Index 0 out of bounds for length 0
Raw output
java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0
	at org.openstreetmap.josm.plugins.mapwithai.backend.MapWithAIRemoteControlTest.testNominalRequest(MapWithAIRemoteControlTest.java:76)