Some fake build tooling

This commit is contained in:
Graham Christensen 2018-01-26 14:59:40 -05:00
parent 6d676e88e4
commit 23523a1e1d
No known key found for this signature in database
GPG key ID: ACA1C1D120C83D5C
2 changed files with 5 additions and 5 deletions

View file

@ -54,7 +54,7 @@ fn main() {
let pr_msg = Pr {
number: 42,
head_sha: "5d0a172338d08001787b4e0e59f0e08978764fc1".to_owned(),
head_sha: "6dd9f0265d52b946dd13daf996f30b64e4edb446".to_owned(),
target_branch: Some("scratch".to_owned()),
};
@ -72,10 +72,10 @@ fn main() {
{
let mut recv = notifyworker::ChannelNotificationReceiver::new(&mut channel, 0);
for i in 1..10 {
for i in 1..2 {
recv.tell(worker::publish_serde_action(
None,
Some("build-inputs-x86_64-linux".to_owned()),
Some("build-inputs-x86_64-darwin".to_owned()),
&msg,
));
}

View file

@ -53,8 +53,8 @@ fn main() {
actions.log_started();
for i in 1..51 {
actions.log_line(&format!("Simulated log line #{:?}/50", i));
thread::sleep(Duration::from_secs(1))
actions.log_line(&format!("Bogus message #{:?}/50", i));
thread::sleep(Duration::from_secs(3))
}
thread::sleep(Duration::from_secs(10))