Skip to content

Commit

Permalink
feat: add timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasBousselin committed Jan 14, 2025
1 parent 69d08f3 commit a9c4cf9
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,10 @@ class ObservationEventListenerTests {

observationEventListener.dispatchObservationMessage(observationEvent)

coVerify {
coVerify(timeout = 1000L) {
entityService.partialUpdateAttribute(any(), any(), any())
}
verify { entityEventService wasNot called }
verify(timeout = 1000L) { entityEventService wasNot called }
}

@Test
Expand All @@ -147,7 +147,7 @@ class ObservationEventListenerTests {

observationEventListener.dispatchObservationMessage(observationEvent)

coVerify {
coVerify(timeout = 1000L) {
entityService.appendAttributes(
expectedEntityId,
any(),
Expand Down

0 comments on commit a9c4cf9

Please sign in to comment.