Skip to content

Commit

Permalink
test-setup: delete dead branch (#3612)
Browse files Browse the repository at this point in the history
That branch was there to avoid having to modify engineer when we still
ran migration engine tests on buildkite. We do not need it anymore.
  • Loading branch information
tomhoule authored Jan 19, 2023
1 parent 256ec42 commit 3d1b4f3
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions libs/test-setup/src/test_api_args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,7 @@ source .test_database_urls/mysql_5_6
"#;

static DB_UNDER_TEST: Lazy<Result<DbUnderTest, String>> = Lazy::new(|| {
let database_url = if std::env::var("IS_BUILDKITE").is_ok() {
"sqlite".to_owned()
} else {
std::env::var("TEST_DATABASE_URL").map_err(|_| MISSING_TEST_DATABASE_URL_MSG.to_owned())?
};
let database_url = std::env::var("TEST_DATABASE_URL").map_err(|_| MISSING_TEST_DATABASE_URL_MSG.to_owned())?;
let shadow_database_url = std::env::var("TEST_SHADOW_DATABASE_URL").ok();
let prefix = database_url
.find(':')
Expand Down

0 comments on commit 3d1b4f3

Please sign in to comment.