Skip to content

Commit

Permalink
fix: fix pegboard tests (#1297)
Browse files Browse the repository at this point in the history
<!-- Please make sure there is an issue that this PR is correlated to. -->

## Changes

<!-- If there are frontend changes, please include screenshots. -->
  • Loading branch information
MasterPtato committed Oct 31, 2024
1 parent 688f76a commit a9a1983
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions packages/infra/pegboard/manager/tests/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,10 @@ pub async fn start_echo_actor(
.collect(),
ports: [(
"main".to_string(),
protocol::Port::Host {
protocol::Port {
target: None,
protocol: protocol::TransportProtocol::Tcp,
routing: protocol::PortRouting::Host,
},
)]
.into_iter()
Expand Down Expand Up @@ -121,8 +123,10 @@ pub async fn start_js_echo_actor(
env: Default::default(),
ports: [(
"main".to_string(),
protocol::Port::Host {
protocol::Port {
target: None,
protocol: protocol::TransportProtocol::Tcp,
routing: protocol::PortRouting::Host,
},
)]
.into_iter()
Expand Down Expand Up @@ -342,7 +346,7 @@ async fn build_runner(gen_path: &Path, variant: &str) {
.arg(if variant == "container" {
pkg_path.join(format!("{variant}-runner"))
} else {
pkg_path.join("..").join("..")
pkg_path.join("..").join("..").join("..")
})
.status()
.await
Expand Down

0 comments on commit a9a1983

Please sign in to comment.