This commit is contained in:
Nikos Papadakis 2023-06-19 14:02:22 +03:00
parent 01a0b038f7
commit cc298cf11c
Signed by untrusted user who does not match committer: nikos
GPG key ID: 78871F9905ADFF02
2 changed files with 3 additions and 2 deletions
agent/src/server

View file

@ -108,11 +108,11 @@ mod tests {
assert_eq!(*stdout, Some("1".to_owned()));
assert_eq!(*stderr, None);
let ExecOutput::Output { ref stdout, ref stderr } = &outputs[1] else { panic!() };
let ExecOutput::Output { ref stdout, ref stderr } = outputs[1] else { panic!() };
assert_eq!(*stdout, Some("2".to_owned()));
assert_eq!(*stderr, None);
let ExecOutput::Output { ref stdout, ref stderr } = &outputs[2] else { panic!() };
let ExecOutput::Output { ref stdout, ref stderr } = outputs[2] else { panic!() };
assert_eq!(*stdout, Some("3".to_owned()));
assert_eq!(*stderr, None);
}

1
agent/src/server/rpc.rs Normal file
View file

@ -0,0 +1 @@
tonic::include_proto!("prymn");