Skip to content

Feature/distributed create entity #5682

Feature/distributed create entity

Feature/distributed create entity #5682

GitHub Actions / Test Results failed Jan 21, 2025 in 0s

1 fail, 1 150 pass in 1m 31s

   70 files  ±0     70 suites  ±0   1m 31s ⏱️ +6s
1 151 tests ±0  1 150 ✅ ±0  0 💤 ±0  1 ❌ ±0 
1 190 runs  ±0  1 189 ✅ ±0  0 💤 ±0  1 ❌ ±0 

Results for commit aa19ccf. ± Comparison against earlier commit 4ac2e4e.

Annotations

Check warning on line 0 in com.egm.stellio.search.entity.web.EntityHandlerTests

See this annotation in the file changed.

@github-actions 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)