Feature/distributed create entity #5682
GitHub Actions / Test Results
failed
Jan 21, 2025 in 0s
1 fail, 1 150 pass in 1m 31s
Annotations
Check warning on line 0 in com.egm.stellio.search.entity.web.EntityHandlerTests
github-actions / Test Results
create entity should return a 207 if some contextSources failed() (com.egm.stellio.search.entity.web.EntityHandlerTests) failed
search-service/build/test-results/test/TEST-com.egm.stellio.search.entity.web.EntityHandlerTests.xml [took 0s]
Raw output
java.lang.AssertionError: errors[registrationId=null].error
Expected: a JSON array
got: a JSON object
; errors[registrationId=urn:ngsi-ld:ContextSourceRegistration:test].error
Expected: a JSON array
got: a JSON object
at org.springframework.test.json.JsonComparator.assertIsMatch(JsonComparator.java:50)
at org.springframework.test.web.reactive.server.DefaultWebTestClient$DefaultBodyContentSpec.lambda$json$1(DefaultWebTestClient.java:686)
at org.springframework.test.web.reactive.server.ExchangeResult.assertWithDiagnostics(ExchangeResult.java:232)
at org.springframework.test.web.reactive.server.DefaultWebTestClient$DefaultBodyContentSpec.json(DefaultWebTestClient.java:684)
at org.springframework.test.web.reactive.server.DefaultWebTestClient$DefaultBodyContentSpec.json(DefaultWebTestClient.java:679)
at org.springframework.test.web.reactive.server.WebTestClient$BodyContentSpec.json(WebTestClient.java:1006)
at com.egm.stellio.search.entity.web.EntityHandlerTests.create entity should return a 207 if some contextSources failed(EntityHandlerTests.kt:415)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
Loading