Update the tests for the full log

This commit is contained in:
Graham Christensen 2018-01-20 12:26:41 -05:00
parent 9122586689
commit bc85a61bd7
No known key found for this signature in database
GPG key ID: ACA1C1D120C83D5C

View file

@ -230,7 +230,7 @@ impl notifyworker::SimpleNotifyWorker for BuildWorker {
let mut snippet_log = VecDeque::with_capacity(10);
if self.full_logs {
if !self.full_logs {
actions.log_line("Full logs are disabled on this builder.");
}
@ -301,7 +301,8 @@ mod tests {
cloner,
nix,
"x86_64-linux".to_owned(),
"cargo-test-build".to_owned()
"cargo-test-build".to_owned(),
true
);
return worker;
@ -361,6 +362,7 @@ mod tests {
owner: "ofborg-test".to_owned(),
},
subset: None,
logs: Some((String::from("logs"), String::from("build.log"))),
};
let mut dummyreceiver = notifyworker::DummyNotificationReceiver::new();