Run non-interactive sessions through production coordination
This commit is contained in:
parent
308c5a1b56
commit
71b0266cf2
1 changed files with 3770 additions and 44 deletions
|
|
@ -421,7 +421,7 @@ fn real_uds_tls_enrollment_and_registration_preserve_exact_profiles_and_session_
|
|||
assert_eq!(socket_metadata.mode() & 0o7777, 0o600);
|
||||
assert_eq!(identity_metadata.uid(), getuid().as_raw());
|
||||
assert_eq!(identity_metadata.mode() & 0o7777, 0o600);
|
||||
assert_eq!(face.socket_path().file_name().unwrap(), "control.sock");
|
||||
assert_eq!(face.socket_path().file_name().unwrap(), "c.sock");
|
||||
assert_eq!(
|
||||
face.identity_path().file_name().unwrap(),
|
||||
"protocol-identity.postcard"
|
||||
|
|
@ -740,7 +740,7 @@ fn publication_refuses_preexisting_fixed_control_path() {
|
|||
let directory = TestDirectory::new("existing");
|
||||
let identity = generation_identity(7);
|
||||
let store = open_store(&directory, &identity);
|
||||
File::create(directory.path("control.sock")).unwrap();
|
||||
File::create(directory.path("c.sock")).unwrap();
|
||||
assert!(matches!(
|
||||
PublishedControlFace::publish(
|
||||
&directory.0,
|
||||
|
|
@ -765,7 +765,7 @@ fn prepared_control_face_admits_only_after_generation_publication() {
|
|||
registry,
|
||||
)
|
||||
.unwrap();
|
||||
assert!(std::os::unix::net::UnixStream::connect(directory.path("control.sock")).is_err());
|
||||
assert!(std::os::unix::net::UnixStream::connect(directory.path("c.sock")).is_err());
|
||||
|
||||
store
|
||||
.apply(&[DomainStoreMutation::PutGeneration(generation(
|
||||
|
|
|
|||
Loading…
Reference in a new issue