File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
jpa/example/src/test/java/example/springdata/jpa/simple
redis/pubsub/src/test/java/example/springdata/redis Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 2525
2626import org .junit .jupiter .api .BeforeEach ;
2727import org .junit .jupiter .api .Test ;
28- import org .junit .jupiter .api .condition .EnabledOnJre ;
28+ import org .junit .jupiter .api .condition .EnabledForJreRange ;
2929import org .junit .jupiter .api .condition .JRE ;
3030
3131import org .springframework .beans .factory .annotation .Autowired ;
4141 */
4242@ Transactional
4343@ SpringBootTest (properties = "spring.threads.virtual.enabled=true" )
44- @ EnabledOnJre ( JRE .JAVA_21 )
44+ @ EnabledForJreRange ( min = JRE .JAVA_21 )
4545class VirtualThreadsTests {
4646
4747 @ Autowired SimpleUserRepository repository ;
Original file line number Diff line number Diff line change 2222import java .util .concurrent .TimeUnit ;
2323
2424import org .junit .jupiter .api .Test ;
25- import org .junit .jupiter .api .condition .EnabledOnJre ;
25+ import org .junit .jupiter .api .condition .EnabledForJreRange ;
2626import org .junit .jupiter .api .condition .JRE ;
27-
2827import org .springframework .beans .factory .annotation .Autowired ;
2928import org .springframework .boot .test .context .SpringBootTest ;
3029import org .springframework .core .task .AsyncTaskExecutor ;
3938 * @author Mark Paluch
4039 */
4140@ SpringBootTest (properties = "spring.threads.virtual.enabled=true" )
42- @ EnabledOnJre ( JRE .JAVA_21 )
41+ @ EnabledForJreRange ( min = JRE .JAVA_21 )
4342public class PubSubVirtualThreadsTests {
4443
4544 @ Autowired RedisConnectionFactory connectionFactory ;
You can’t perform that action at this time.
0 commit comments