request IDs aren't optional anymore

This commit is contained in:
Graham Christensen 2018-08-09 16:43:46 -04:00
parent 30de4a7927
commit 74e2641f5a
No known key found for this signature in database
GPG key ID: ACA1C1D120C83D5C
2 changed files with 9 additions and 9 deletions

View file

@ -195,7 +195,7 @@ mod tests {
"/nix/store/pcja75y9isdvgz5i00pkrpif9rxzxc29-gdb-8.1".to_owned(), "/nix/store/pcja75y9isdvgz5i00pkrpif9rxzxc29-gdb-8.1".to_owned(),
], ],
attempt_id: "neatattemptid".to_owned(), attempt_id: "neatattemptid".to_owned(),
request_id: Some("bogus-request-id".to_owned()), request_id: "bogus-request-id".to_owned(),
system: "x86_64-linux".to_owned(), system: "x86_64-linux".to_owned(),
attempted_attrs: Some(vec!["foo".to_owned()]), attempted_attrs: Some(vec!["foo".to_owned()]),
skipped_attrs: Some(vec!["bar".to_owned()]), skipped_attrs: Some(vec!["bar".to_owned()]),
@ -258,7 +258,7 @@ patching script interpreter paths in /nix/store/pcja75y9isdvgz5i00pkrpif9rxzxc29
"/nix/store/pcja75y9isdvgz5i00pkrpif9rxzxc29-gdb-8.1".to_owned(), "/nix/store/pcja75y9isdvgz5i00pkrpif9rxzxc29-gdb-8.1".to_owned(),
], ],
attempt_id: "neatattemptid".to_owned(), attempt_id: "neatattemptid".to_owned(),
request_id: Some("bogus-request-id".to_owned()), request_id: "bogus-request-id".to_owned(),
system: "x86_64-linux".to_owned(), system: "x86_64-linux".to_owned(),
attempted_attrs: Some(vec!["foo".to_owned()]), attempted_attrs: Some(vec!["foo".to_owned()]),
skipped_attrs: None, skipped_attrs: None,
@ -318,7 +318,7 @@ patching script interpreter paths in /nix/store/pcja75y9isdvgz5i00pkrpif9rxzxc29
"error: build of '/nix/store/l1limh50lx2cx45yb2gqpv7k8xl1mik2-gdb-8.1.drv' failed".to_owned(), "error: build of '/nix/store/l1limh50lx2cx45yb2gqpv7k8xl1mik2-gdb-8.1.drv' failed".to_owned(),
], ],
attempt_id: "neatattemptid".to_owned(), attempt_id: "neatattemptid".to_owned(),
request_id: Some("bogus-request-id".to_owned()), request_id: "bogus-request-id".to_owned(),
system: "x86_64-linux".to_owned(), system: "x86_64-linux".to_owned(),
attempted_attrs: Some(vec!["foo".to_owned()]), attempted_attrs: Some(vec!["foo".to_owned()]),
skipped_attrs: None, skipped_attrs: None,
@ -378,7 +378,7 @@ error: build of '/nix/store/l1limh50lx2cx45yb2gqpv7k8xl1mik2-gdb-8.1.drv' failed
"/nix/store/pcja75y9isdvgz5i00pkrpif9rxzxc29-gdb-8.1".to_owned(), "/nix/store/pcja75y9isdvgz5i00pkrpif9rxzxc29-gdb-8.1".to_owned(),
], ],
attempt_id: "neatattemptid".to_owned(), attempt_id: "neatattemptid".to_owned(),
request_id: Some("bogus-request-id".to_owned()), request_id: "bogus-request-id".to_owned(),
system: "x86_64-linux".to_owned(), system: "x86_64-linux".to_owned(),
attempted_attrs: None, attempted_attrs: None,
skipped_attrs: None, skipped_attrs: None,
@ -437,7 +437,7 @@ patching script interpreter paths in /nix/store/pcja75y9isdvgz5i00pkrpif9rxzxc29
"/nix/store/pcja75y9isdvgz5i00pkrpif9rxzxc29-gdb-8.1".to_owned(), "/nix/store/pcja75y9isdvgz5i00pkrpif9rxzxc29-gdb-8.1".to_owned(),
], ],
attempt_id: "neatattemptid".to_owned(), attempt_id: "neatattemptid".to_owned(),
request_id: Some("bogus-request-id".to_owned()), request_id: "bogus-request-id".to_owned(),
system: "x86_64-linux".to_owned(), system: "x86_64-linux".to_owned(),
attempted_attrs: None, attempted_attrs: None,
skipped_attrs: None, skipped_attrs: None,
@ -485,7 +485,7 @@ patching script interpreter paths in /nix/store/pcja75y9isdvgz5i00pkrpif9rxzxc29
}, },
output: vec!["foo".to_owned()], output: vec!["foo".to_owned()],
attempt_id: "foo".to_owned(), attempt_id: "foo".to_owned(),
request_id: Some("bogus-request-id".to_owned()), request_id: "bogus-request-id".to_owned(),
system: "x86_64-linux".to_owned(), system: "x86_64-linux".to_owned(),
attempted_attrs: None, attempted_attrs: None,
skipped_attrs: Some(vec!["not-attempted".to_owned()]), skipped_attrs: Some(vec!["not-attempted".to_owned()]),
@ -526,7 +526,7 @@ foo
}, },
output: vec![], output: vec![],
attempt_id: "foo".to_owned(), attempt_id: "foo".to_owned(),
request_id: Some("bogus-request-id".to_owned()), request_id: "bogus-request-id".to_owned(),
system: "x86_64-linux".to_owned(), system: "x86_64-linux".to_owned(),
attempted_attrs: None, attempted_attrs: None,
skipped_attrs: Some(vec!["not-attempted".to_owned()]), skipped_attrs: Some(vec!["not-attempted".to_owned()]),
@ -572,7 +572,7 @@ No partial log is available.
"/nix/store/pcja75y9isdvgz5i00pkrpif9rxzxc29-gdb-8.1".to_owned(), "/nix/store/pcja75y9isdvgz5i00pkrpif9rxzxc29-gdb-8.1".to_owned(),
], ],
attempt_id: "neatattemptid".to_owned(), attempt_id: "neatattemptid".to_owned(),
request_id: Some("bogus-request-id".to_owned()), request_id: "bogus-request-id".to_owned(),
system: "x86_64-linux".to_owned(), system: "x86_64-linux".to_owned(),
attempted_attrs: Some(vec!["foo".to_owned()]), attempted_attrs: Some(vec!["foo".to_owned()]),
skipped_attrs: Some(vec!["bar".to_owned()]), skipped_attrs: Some(vec!["bar".to_owned()]),

View file

@ -445,7 +445,7 @@ mod tests {
system: "x86_64-linux".to_owned(), system: "x86_64-linux".to_owned(),
output: vec![], output: vec![],
attempt_id: "attempt-id-foo".to_owned(), attempt_id: "attempt-id-foo".to_owned(),
request_id: Some("bogus-request-id".to_owned()), request_id: "bogus-request-id".to_owned(),
status: Some(BuildStatus::Success), status: Some(BuildStatus::Success),
success: Some(true), success: Some(true),
attempted_attrs: Some(vec!["foo".to_owned()]), attempted_attrs: Some(vec!["foo".to_owned()]),