package com.hollywood.applet; import com.hollywood.common.redis.RedisAutoTemplate; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReentrantLock; /** * @Description * @Author xiaochen * @Date 2022/8/3/00310:01 */ @SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT, classes = AppletApplication.class) public class AppletTest { private final Lock lock = new ReentrantLock(); @Autowired private RedisAutoTemplate redisAutoTemplate; @Test void test() throws InterruptedException { } }