Skip to content

Commit

Permalink
Add comments to unit tests with fixed flyway migrations
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Collado <[email protected]>
  • Loading branch information
collado-mike committed Jul 18, 2022
1 parent 8f30da9 commit 2eb2bf1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
import org.junit.jupiter.api.extension.ExtendWith;

@ExtendWith(MarquezJdbiExternalPostgresExtension.class)
// fix the flyway migration up to v44 since we depend on the database structure as it exists at this
// point in time. The migration will only ever be applied on a database at this version.
@FlywayTarget("44")
class V44_2__BackfillAirflowParentRunsTest {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@
import org.junit.jupiter.api.extension.ExtendWith;

@ExtendWith(MarquezJdbiExternalPostgresExtension.class)
@FlywayTarget("44") // apply migrations up to and including v44 but not beyond
// fix the flyway migration up to v44 since we depend on the database structure as it exists at this
// point in time. The migration will only ever be applied on a database at this version.
@FlywayTarget("44")
class V44_3_BackfillJobsWithParentsTest {

static Jdbi jdbi;
Expand Down

0 comments on commit 2eb2bf1

Please sign in to comment.