Skip to content

Commit

Permalink
Fix test case
Browse files Browse the repository at this point in the history
  • Loading branch information
terrymanu committed Nov 23, 2023
1 parent 09fbb09 commit d297b0e
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
import org.apache.shardingsphere.mode.manager.ContextManager;
import org.apache.shardingsphere.mode.repository.cluster.ClusterPersistRepository;
import org.apache.shardingsphere.test.it.data.pipeline.core.util.PipelineContextUtils;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;

import java.util.Optional;
Expand All @@ -32,6 +33,11 @@

class PipelineJobGovernanceRepositoryTest {

@BeforeAll
static void beforeClass() {
PipelineContextUtils.mockModeConfigAndContextManager();
}

@Test
void assertDelete() {
ClusterPersistRepository clusterPersistRepository = getClusterPersistRepository();
Expand Down

0 comments on commit d297b0e

Please sign in to comment.