From 8c6ded18f3004b22e14065c662bb2551041b06ca Mon Sep 17 00:00:00 2001 From: Arun Jangra Date: Wed, 7 Aug 2024 20:17:50 +0530 Subject: [PATCH] Feat : add testing fixtures and a basic test (#52) * feat : added tests for increasing coverage * feat : added mongo db tests and fixtures and updated the ci for tests * update : removed unwanted fixtures * update : removed unwanted fixtures * update : added mongo db runner in ci * update : added mongo db runner in ci * update : added mongo db runner in ci * update : updated with new changes and ci * update : updated test cases for s3 client * update : added .env.test file in the commit * feat : added database necessary tests * feat : added database necessary tests * Revert "feat : added database necessary tests" This reverts commit 65d66e6a621f05d2151a131f19bb0fc9725aaa0b. * Revert "feat : added database necessary tests" This reverts commit 906a1eb2efa7706d593d0d065ed42132cf406465. * update: Replaced Build_Config Fixture with TestConfigBuilder * update : config update * update : test_put_and_get_data_s3 test * update: moved testconfigbuilder to tests/config.rs & added docs , drop all collections not just jobs * feat : updated test config and added config type to aws s3 config * chore: resolved pr comments * Update crates/orchestrator/src/tests/database/mod.rs Co-authored-by: 0xevolve * feat : lint fix * fix : coverage tests fix * fix : test fix --------- Co-authored-by: Heemank Verma Co-authored-by: 0xevolve --- crates/orchestrator/src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/orchestrator/src/config.rs b/crates/orchestrator/src/config.rs index 5ae43681..1dca6759 100644 --- a/crates/orchestrator/src/config.rs +++ b/crates/orchestrator/src/config.rs @@ -1,6 +1,6 @@ use std::sync::Arc; -use crate::data_storage::aws_s3::config::AWSS3Config; +use crate::data_storage::aws_s3::config::{AWSS3Config, AWSS3ConfigType}; use crate::data_storage::aws_s3::AWSS3; use crate::data_storage::{DataStorage, DataStorageConfig}; use aptos_da_client::config::AptosDaConfig;