Skip to content

Commit

Permalink
Disable test that doesn't complete in github CI
Browse files Browse the repository at this point in the history
It doesn't add extra coverage and is a copy of server_with_database
otherwise
  • Loading branch information
boustrophedon committed Apr 4, 2024
1 parent b3269e6 commit f6e0045
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions examples/ipc_server_with_database.rs
Original file line number Diff line number Diff line change
Expand Up @@ -408,14 +408,9 @@ fn main() {
webserver_child.kill().unwrap();
}

// TODO: this test fails with musl probably because of timing differences.
// Instead of just waiting 100 ms, actually use signalling via mpsc::sync_channel to indicate when
// server is ready. I'm not 100% sure that's the issue though.
//
// However, even if that part worked it would still fail on musl because the local libsqlite3.so is
// not compiled with musl, and linking a glibc so into a musl program causes segfaults
#[cfg(target_env = "gnu")]
#[test]
fn run_main() {
main()
}
// TODO: this test randomly doesn't complete in github CI. investigate later but disable for now
// since I don't think it's adding significant coverage compared to the non-ipc version.
//#[test]
//fn run_main() {
// main()
//}

0 comments on commit f6e0045

Please sign in to comment.