Add integration tests that check various config options (#54)

This commit is contained in:
Azrenbeth
2021-09-09 14:26:14 +01:00
committed by GitHub
parent d908d13f8f
commit d32f49303b
4 changed files with 483 additions and 1 deletions

View File

@@ -55,7 +55,8 @@ pub fn get_data_from_db(
builder.set_verify(SslVerifyMode::NONE);
let connector = MakeTlsConnector::new(builder.build());
let mut client = Client::connect(db_url, connector).unwrap();
let mut client = Client::connect(db_url, connector)
.unwrap_or_else(|e| panic!("Error connecting to the database: {}", e));
// Search for the group id of the groups_to_compress'th group after min_state_group
// If this is saved, then the compressor can continue by having min_state_group being