Skip to content

feat: redo not totally working Testcontainers config for Kafka

Sign in for the full log view
GitHub Actions / Test Results failed Dec 23, 2024 in 0s

1 fail, 1 135 pass in 1m 22s

   70 files  ±0     70 suites  ±0   1m 22s ⏱️ -8s
1 136 tests ±0  1 135 ✅ +1  0 💤 ±0  1 ❌  - 1 
1 175 runs  ±0  1 174 ✅ +1  0 💤 ±0  1 ❌  - 1 

Results for commit 8f70cea. ± Comparison against earlier commit d522201.

Annotations

Check warning on line 0 in com.egm.stellio.search.entity.listener.ObservationEventListenerTests

See this annotation in the file changed.

@github-actions github-actions / Test Results

it should catch and drop any non compliant JSON-LD payload() (com.egm.stellio.search.entity.listener.ObservationEventListenerTests) failed

search-service/build/test-results/test/TEST-com.egm.stellio.search.entity.listener.ObservationEventListenerTests.xml [took 0s]
Raw output
java.lang.AssertionError: Verification failed: EntityService(com.egm.stellio.search.entity.service.EntityService#0 bean#235) should not be called:
EntityService(com.egm.stellio.search.entity.service.EntityService#0 bean#235).partialUpdateAttribute(urn:ngsi-ld:BeeHive:01, (https://ontology.eglobalmark.com/apic#temperature, [{https://uri.etsi.org/ngsi-ld/datasetId=[{@id=urn:ngsi-ld:Dataset:WeatherApi}], https://uri.etsi.org/ngsi-ld/hasValue=[{@value=2}], https://uri.etsi.org/ngsi-ld/observedAt=[{@type=https://uri.etsi.org/ngsi-ld/DateTime, @value=2021-12-08T10:20:30.98601Z}]}]), null, continuation {})
	at io.mockk.impl.recording.states.VerifyingState.checkWasNotCalled(VerifyingState.kt:89)
	at io.mockk.impl.recording.states.VerifyingState.recordingDone(VerifyingState.kt:45)
	at io.mockk.impl.recording.CommonCallRecorder.done(CommonCallRecorder.kt:47)
	at io.mockk.impl.eval.RecordedBlockEvaluator.record(RecordedBlockEvaluator.kt:64)
	at io.mockk.impl.eval.VerifyBlockEvaluator.verify(VerifyBlockEvaluator.kt:30)
	at io.mockk.MockKDsl.internalVerify(API.kt:120)
	at io.mockk.MockKKt.verify(MockK.kt:218)
	at io.mockk.MockKKt.verify$default(MockK.kt:209)
	at com.egm.stellio.search.entity.listener.ObservationEventListenerTests$it should catch and drop any non compliant JSON-LD payload$1.invokeSuspend(ObservationEventListenerTests.kt:233)
	at com.egm.stellio.search.entity.listener.ObservationEventListenerTests$it should catch and drop any non compliant JSON-LD payload$1.invoke(ObservationEventListenerTests.kt)
	at com.egm.stellio.search.entity.listener.ObservationEventListenerTests$it should catch and drop any non compliant JSON-LD payload$1.invoke(ObservationEventListenerTests.kt)
	at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt$runTest$2$1$1.invokeSuspend(TestBuilders.kt:316)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
	at kotlinx.coroutines.test.TestDispatcher.processEvent$kotlinx_coroutines_test(TestDispatcher.kt:24)
	at kotlinx.coroutines.test.TestCoroutineScheduler.tryRunNextTaskUnless$kotlinx_coroutines_test(TestCoroutineScheduler.kt:99)
	at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt$runTest$2$1$workRunner$1.invokeSuspend(TestBuilders.kt:322)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
	at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:277)
	at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:95)
	at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:69)
	at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
	at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
	at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
	at kotlinx.coroutines.test.TestBuildersJvmKt.createTestResult(TestBuildersJvm.kt:10)
	at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0(TestBuilders.kt:310)
	at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0(Unknown Source)
	at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0(TestBuilders.kt:168)
	at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0(Unknown Source)
	at kotlinx.coroutines.test.TestBuildersKt__TestBuildersKt.runTest-8Mi8wO0$default(TestBuilders.kt:160)
	at kotlinx.coroutines.test.TestBuildersKt.runTest-8Mi8wO0$default(Unknown Source)
	at com.egm.stellio.search.entity.listener.ObservationEventListenerTests.it should catch and drop any non compliant JSON-LD payload(ObservationEventListenerTests.kt:221)
	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)