Skip to content

Commit

Permalink
chore: use interests instead of subscribe recon endpoint in simulation (
Browse files Browse the repository at this point in the history
  • Loading branch information
dav1do authored Feb 16, 2024
1 parent 327dcef commit 46142a3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions runner/src/scenario/ceramic/recon_sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,19 +109,19 @@ async fn setup(

tracing::debug!(%model_id, "syncing model");

let path = format!("/ceramic/subscribe/model/{}?limit=1", model_id);
let path = format!("/ceramic/interests/model/{}", model_id);
let user_data = ReconLoadTestUserData {
model_id,
with_data,
};
user.set_session_data(user_data);

let request_builder = user
.get_request_builder(&GooseMethod::Get, &path)?
.get_request_builder(&GooseMethod::Post, &path)?
.timeout(Duration::from_secs(5));
let req = GooseRequest::builder()
.set_request_builder(request_builder)
.expect_status_code(200)
.expect_status_code(204)
.build();

let _goose = user.request(req).await?;
Expand Down

0 comments on commit 46142a3

Please sign in to comment.