feat(core): add a purge task (#742)

close #737
This commit is contained in:
Ludovic DEHON
2022-09-20 13:55:01 +02:00
committed by GitHub
parent 59f990b2e1
commit 83727090e2
22 changed files with 691 additions and 63 deletions

View File

@@ -0,0 +1,20 @@
package io.kestra.repository.postgres;
import io.kestra.core.repositories.AbstractExecutionServiceTest;
import io.kestra.jdbc.JdbcTestUtils;
import jakarta.inject.Inject;
import org.junit.jupiter.api.BeforeEach;
import java.io.IOException;
import java.net.URISyntaxException;
class PostgresExecutionServiceTest extends AbstractExecutionServiceTest {
@Inject
JdbcTestUtils jdbcTestUtils;
@BeforeEach
protected void init() throws IOException, URISyntaxException {
jdbcTestUtils.drop();
jdbcTestUtils.migrate();
}
}