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);
    }
}