diff --git a/.github/workflows/mediator.pr.yml b/.github/workflows/mediator.pr.yml index c9b459c151..3f77ca0c90 100644 --- a/.github/workflows/mediator.pr.yml +++ b/.github/workflows/mediator.pr.yml @@ -53,5 +53,4 @@ jobs: - name: Setup database run: DATABASE_URL=${MYSQL_URL} sqlx migrate run --source mediator/migrations - name: "Run mediator integration tests" - run: | - RUST_TEST_THREADS=1 cargo test --package mediator; \ No newline at end of file + run: cargo run --bin mediator & sleep 5 && cargo test --verbose --package mediator -- --nocapture; \ No newline at end of file diff --git a/mediator/src/agent/mod.rs b/mediator/src/agent/mod.rs index 2a40a4633b..9371ae68fc 100644 --- a/mediator/src/agent/mod.rs +++ b/mediator/src/agent/mod.rs @@ -264,7 +264,7 @@ mod test { agent .init_service( vec![], - format!("http://127.0.0.1:8005/aries").parse().unwrap(), + "http://127.0.0.1:8005/aries".to_string().parse().unwrap(), ) .await .unwrap();