This commit is contained in:
2025-05-30 10:31:31 +08:00
parent 80f4491836
commit 5d2cf4fd31
4 changed files with 125 additions and 29 deletions

View File

@ -0,0 +1,22 @@
package com.ycwl.basic.utils;
import lombok.extern.slf4j.Slf4j;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
@Slf4j
@SpringBootTest
@RunWith(SpringRunner.class)
public class VideoReUploaderTest {
@Autowired
private VideoReUploader videoReUploader;
@Test
public void testReUpload() throws InterruptedException {
videoReUploader.addTask(3975968518398152704L);
Thread.sleep(1_000_000L);
}
}