Make Git router teardown process-bounded
This commit is contained in:
parent
31e9ab0f2d
commit
e60baad993
1 changed files with 191 additions and 35 deletions
|
|
@ -25,6 +25,7 @@ use lazaret_core::records::{
|
|||
SessionTerminalMessage, TerminalResize, TerminalSignal, TerminalSignalKind,
|
||||
};
|
||||
use lazaret_host_coordinator::domain_store::{DomainStoreMutation, HostCoordinatorDomainStore};
|
||||
use lazaret_host_coordinator::git_routing::GitRoutingCoordinator;
|
||||
use lazaret_host_coordinator::network::NetworkCoordinator;
|
||||
use lazaret_host_coordinator::runtime::{
|
||||
AwaitingAttachedRunsc, CommittedSandboxRuntime, SandboxCoordinator,
|
||||
|
|
@ -42,10 +43,11 @@ use lazaret_linux::process::{
|
|||
use lazaret_linux::user_namespace::UserNamespaceMap;
|
||||
use lazaret_runtime_supervisor::sandbox::{
|
||||
NETWORK_NAMESPACE_PATH, RootProcess, RunscCommand, SandboxBuildRequest, SandboxBundle,
|
||||
build_sandbox_bundle, default_sandbox_layout,
|
||||
build_sandbox_bundle, build_sandbox_bundle_with_workspace, default_sandbox_layout,
|
||||
};
|
||||
use lazaret_runtime_supervisor::supervision::{
|
||||
AttachedRunscSignal, RuntimeNetworkLaunch, RuntimeSupervisorLaunch,
|
||||
AttachedRunscSignal, RuntimeGitRoutingAuthority, RuntimeGitRoutingLaunch, RuntimeNetworkLaunch,
|
||||
RuntimeSupervisorLaunch,
|
||||
};
|
||||
use rustix::process::Signal;
|
||||
use tempfile::TempDir;
|
||||
|
|
@ -250,6 +252,7 @@ fn run_matrix() -> Result<(), MatrixError> {
|
|||
require_matrix_prerequisites()?;
|
||||
lost_acknowledgment_refuses_target_work()?;
|
||||
replaced_handoff_authority_refuses_target_work()?;
|
||||
git_routing_clean_stop()?;
|
||||
normal_stop_and_stop_resume()?;
|
||||
attached_runsc_loss_stops_guest()?;
|
||||
runtime_supervisor_loss_stops_guest()?;
|
||||
|
|
@ -622,11 +625,11 @@ mod network;
|
|||
|
||||
use fixtures::{Fixture, NetworkFixture};
|
||||
use handoff::{
|
||||
attached_runsc_loss_stops_guest, failure, host_coordinator_loss_stops_guest,
|
||||
lost_acknowledgment_refuses_target_work, matrix_io, normal_stop_and_stop_resume,
|
||||
replaced_handoff_authority_refuses_target_work, require_matrix_prerequisites,
|
||||
run_handoff_matrix, run_host_coordinator_driver, run_network_cases,
|
||||
runtime_supervisor_loss_stops_guest,
|
||||
attached_runsc_loss_stops_guest, failure, git_routing_clean_stop,
|
||||
host_coordinator_loss_stops_guest, lost_acknowledgment_refuses_target_work, matrix_io,
|
||||
normal_stop_and_stop_resume, replaced_handoff_authority_refuses_target_work,
|
||||
require_matrix_prerequisites, run_handoff_matrix, run_host_coordinator_driver,
|
||||
run_network_cases, runtime_supervisor_loss_stops_guest,
|
||||
};
|
||||
use network::{
|
||||
hex, host_path, lock_file, networked_sandbox_view_isolated, run_sandbox_network_probe,
|
||||
|
|
|
|||
Loading…
Reference in a new issue