Skip to content

Commit

Permalink
update : test_put_and_get_data_s3 test
Browse files Browse the repository at this point in the history
  • Loading branch information
ocdbytes committed Jul 26, 2024
1 parent 8b7e68f commit 74fea52
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/orchestrator/src/tests/data_storage/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ use crate::data_storage::{DataStorage, DataStorageConfig};
use bytes::Bytes;
use rstest::rstest;
use serde_json::json;
use utils::env_utils::get_env_var_or_panic;

#[rstest]
#[tokio::test]
Expand All @@ -15,6 +16,7 @@ async fn test_put_and_get_data_s3() -> color_eyre::Result<()> {

let config = AWSS3Config::new_from_env();
let s3_client = AWSS3::new(config).await;
s3_client.build_test_bucket(&get_env_var_or_panic("AWS_S3_BUCKET_NAME")).await.unwrap();

let mock_data = json!(
{
Expand Down

0 comments on commit 74fea52

Please sign in to comment.