Skip to content

Commit

Permalink
Merge pull request #883 from andrewdavidmackenzie/pigg_880
Browse files Browse the repository at this point in the history
Try re-enabling test
  • Loading branch information
andrewdavidmackenzie authored Feb 26, 2025
2 parents 9182935 + 7a66011 commit 8ea4259
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
1 change: 0 additions & 1 deletion piglet/tests/iroh.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ where
}
}

#[ignore]
#[tokio::test]
#[serial]
async fn connect_iroh() {
Expand Down
17 changes: 16 additions & 1 deletion piglet/tests/tcp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ where
}
}

#[ignore]
#[tokio::test]
#[serial]
async fn can_connect_tcp() {
Expand All @@ -78,6 +77,22 @@ async fn can_connect_tcp() {
kill(&mut child)
}

#[ignore]
#[tokio::test]
#[serial]
async fn disconnect_tcp() {
kill_all("piglet");
build("piglet");
let mut child = run("piglet", vec![], None);
connect(&mut child, |_, _, stream| async move {
tcp_host::send_config_message(stream, &Disconnect)
.await
.expect("Could not send Disconnect");
})
.await;
kill(&mut child)
}

#[ignore]
#[tokio::test]
#[serial]
Expand Down

0 comments on commit 8ea4259

Please sign in to comment.