refactor(scheduler): move scheduler to new crate to support workflows in multiple crates (#1681)

This commit is contained in:
Jagan
2023-09-06 13:11:09 +05:30
committed by GitHub
parent ec4652ec09
commit d4221f3368
72 changed files with 1966 additions and 1124 deletions

View File

@ -390,7 +390,7 @@ mod tests {
#[allow(clippy::unwrap_used)]
#[tokio::test]
async fn test_mockdb_api_key_interface() {
let mockdb = MockDb::new(&Default::default()).await;
let mockdb = MockDb::new().await;
let key1 = mockdb
.insert_api_key(storage::ApiKeyNew {
@ -473,7 +473,7 @@ mod tests {
#[allow(clippy::unwrap_used)]
#[tokio::test]
async fn test_api_keys_cache() {
let db = MockDb::new(&Default::default()).await;
let db = MockDb::new().await;
let redis_conn = db.get_redis_conn().unwrap();
redis_conn