Skip to content

Commit

Permalink
fix: broken IT
Browse files Browse the repository at this point in the history
  • Loading branch information
RouHim committed Jun 6, 2022
1 parent 923556d commit 6dfb4bb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/target
.idea
cache
test.sh
7 changes: 4 additions & 3 deletions src/integration_test_resources_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -313,10 +313,11 @@ fn build_app(
>,
> {
scheduler::init();
scheduler::fetch_resources(resource_reader.clone(), kv_writer_mutex);
scheduler::fetch_resources(resource_reader.clone(), kv_writer_mutex.clone());
App::new()
.app_data(web::Data::new(kv_reader.clone()))
.app_data(web::Data::new(resource_reader.clone()))
.app_data(web::Data::new(kv_reader))
.app_data(web::Data::new(resource_reader))
.app_data(web::Data::new(kv_writer_mutex))
.service(
web::scope("/api/resources")
.service(resource_endpoint::list_all_resources)
Expand Down

0 comments on commit 6dfb4bb

Please sign in to comment.