From 15a0b2d3dccd3a7b8f1d13b6281cafc8b56b7447 Mon Sep 17 00:00:00 2001 From: Janne Valkealahti Date: Sun, 18 Oct 2020 10:08:41 +0100 Subject: [PATCH] Update blockhound settings --- build.gradle | 2 +- .../statemachine/StateMachineBlockHoundIntegration.java | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index a18c5e04..f724530a 100644 --- a/build.gradle +++ b/build.gradle @@ -15,7 +15,7 @@ buildscript { curatorVersion = '2.11.1' docResourcesVersion = '0.2.1.RELEASE' awaitilityVersion = '3.1.6' - reactorBlockHoundVersion = '1.0.1.RELEASE' + reactorBlockHoundVersion = '1.0.4.RELEASE' } repositories { maven { url 'https://repo.springsource.org/libs-release'} diff --git a/spring-statemachine-core/src/test/java/org/springframework/statemachine/StateMachineBlockHoundIntegration.java b/spring-statemachine-core/src/test/java/org/springframework/statemachine/StateMachineBlockHoundIntegration.java index a269436f..21defc3b 100644 --- a/spring-statemachine-core/src/test/java/org/springframework/statemachine/StateMachineBlockHoundIntegration.java +++ b/spring-statemachine-core/src/test/java/org/springframework/statemachine/StateMachineBlockHoundIntegration.java @@ -1,5 +1,5 @@ /* - * Copyright 2019 the original author or authors. + * Copyright 2019-2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,6 +28,7 @@ public class StateMachineBlockHoundIntegration implements BlockHoundIntegration .allowBlockingCallsInside("org.springframework.statemachine.monitor.StateMachineMonitorTests$LatchAction", "execute") .allowBlockingCallsInside("org.springframework.statemachine.state.CompletionEventTests$Config1$1", "execute") .allowBlockingCallsInside("org.apache.commons.logging.LogAdapter$Log4jLog", "debug") - .allowBlockingCallsInside("org.springframework.statemachine.state.ObjectStateTests$TestBlockingAction", "sleep"); + .allowBlockingCallsInside("org.springframework.statemachine.state.ObjectStateTests$TestBlockingAction", "sleep") + .allowBlockingCallsInside("org.springframework.statemachine.action.ActionAndTimerTests$TestTimerAction", "execute"); } }