Skip to content

Commit

Permalink
Merge pull request #124 from conductor-oss/pg_test_fixes
Browse files Browse the repository at this point in the history
Fix tests
  • Loading branch information
v1r3n committed Apr 10, 2024
2 parents 177d6ff + 4d84818 commit 540e552
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ public void testIndexWorkflowOnlyStatusChange() throws SQLException {
checkWorkflow("workflow-id", "FAILED", "new-correlation-id");
}

@Test
public void testIndexTaskOnlyStatusChange() throws SQLException {
TaskSummary ts = getMockTaskSummary("task-id");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
FlywayAutoConfiguration.class
})
@RunWith(SpringRunner.class)
@SpringBootTest(properties = "spring.flyway.clean-disabled=false")
@SpringBootTest(properties = "spring.flyway.clean-disabled=true")
public class PostgresMetadataDAOTest {

@Autowired private PostgresMetadataDAO metadataDAO;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
@TestPropertySource(
properties = {
"conductor.db.type=postgres",
"conductor.postgres.experimentalQueueNotify=true",
"conductor.app.asyncIndexingEnabled=false",
"conductor.elasticsearch.version=7",
"conductor.grpc-server.port=8098",
Expand All @@ -37,7 +38,8 @@
"spring.datasource.username=postgres",
"spring.datasource.password=postgres",
"spring.datasource.hikari.maximum-pool-size=8",
"spring.datasource.hikari.minimum-idle=300000"
"spring.datasource.hikari.minimum-idle=300000",
"spring.flyway.clean-disabled=true"
})
public class PostgresGrpcEndToEndTest extends AbstractGrpcEndToEndTest {

Expand Down

0 comments on commit 540e552

Please sign in to comment.