diff --git a/crates/shared/operations/infra/src/process_host_exec_tests.rs b/crates/shared/operations/infra/src/process_host_exec_tests.rs index 82c76e4a..39c1997f 100644 --- a/crates/shared/operations/infra/src/process_host_exec_tests.rs +++ b/crates/shared/operations/infra/src/process_host_exec_tests.rs @@ -28,7 +28,7 @@ impl CommandExecutor for MockExecutor { } fn host() -> HostRecord { - HostRecord::new(HostId::new("dookie").unwrap(), HostEndpoint::Local) + HostRecord::new(HostId::new("devhost").unwrap(), HostEndpoint::Local) } fn request(command: HostExecCommand, args: Vec) -> HostExecRequest { diff --git a/crates/synapse/application/src/mutation_exec_result_tests.rs b/crates/synapse/application/src/mutation_exec_result_tests.rs index 0284ce6b..756db5a9 100644 --- a/crates/synapse/application/src/mutation_exec_result_tests.rs +++ b/crates/synapse/application/src/mutation_exec_result_tests.rs @@ -3,7 +3,7 @@ use super::*; #[test] fn evidence_uris_preserve_execution_identity() { assert_eq!( - exec_evidence_uri("host-exec", "dookie", "rg"), - "host-exec://dookie/rg" + exec_evidence_uri("host-exec", "devhost", "rg"), + "host-exec://devhost/rg" ); } diff --git a/crates/synapse/application/src/mutation_exec_tests.rs b/crates/synapse/application/src/mutation_exec_tests.rs index 83552562..e105ed1b 100644 --- a/crates/synapse/application/src/mutation_exec_tests.rs +++ b/crates/synapse/application/src/mutation_exec_tests.rs @@ -23,7 +23,7 @@ async fn container_exec_binds_argv_and_returns_canonical_output() { let runtime = runtime(container.clone(), hosts, true); let operation = op("container.exec"); let parameters = json!({ - "host":"dookie", + "host":"devhost", "container_id":"api", "command":["printf","ok"], "exec_workdir":"/app", @@ -152,12 +152,12 @@ async fn execution_parameter_drift_rejects_before_driver_send() { let runtime = runtime(container.clone(), hosts, true); let operation = op("container.exec"); let planned = json!({ - "host":"dookie", + "host":"devhost", "container_id":"api", "command":["printf","ok"] }); let changed = json!({ - "host":"dookie", + "host":"devhost", "container_id":"api", "command":["printf","changed"] }); diff --git a/crates/synapse/application/tests/support/mutation_exec_support.rs b/crates/synapse/application/tests/support/mutation_exec_support.rs index 6b6c0865..150b82a9 100644 --- a/crates/synapse/application/tests/support/mutation_exec_support.rs +++ b/crates/synapse/application/tests/support/mutation_exec_support.rs @@ -93,8 +93,8 @@ pub(crate) fn host(name: &str) -> HostRecord { pub(crate) fn container_receipt(exit_code: i64) -> ContainerExecReceipt { ContainerExecReceipt { - host: HostId::new("dookie").unwrap(), - topology_revision: host("dookie").revision().clone(), + host: HostId::new("devhost").unwrap(), + topology_revision: host("devhost").revision().clone(), container: "api".into(), command: vec!["printf".into(), "ok".into()], user: None, @@ -114,7 +114,7 @@ pub(crate) fn runtime( enabled: bool, ) -> SynapseMutationRuntime { let snapshot = - TopologySnapshot::new([host("dookie"), host("alpha"), host("bad"), host("lost")]).unwrap(); + TopologySnapshot::new([host("devhost"), host("alpha"), host("bad"), host("lost")]).unwrap(); SynapseMutationRuntime::new(SynapseMutationPorts { hosts: Arc::new(StaticHosts(snapshot)), docker: Arc::new(UnusedLifecycle),