Skip to content
This repository was archived by the owner on Nov 1, 2023. It is now read-only.

Commit 64782d7

Browse files
authored
fix tests (#3107)
1 parent f6473c6 commit 64782d7

File tree

2 files changed

+2
-2
lines changed
  • src/agent

2 files changed

+2
-2
lines changed

src/agent/onefuzz-agent/src/worker/tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ impl Fixture {
1414
fn work(&self) -> WorkUnit {
1515
let job_id = "d4e6cb4a-917e-4826-8a44-7646938c80a8".parse().unwrap();
1616
let task_id = "1cfcdfe6-df10-42a5-aab7-1a45db0d0e48".parse().unwrap();
17-
let config = r#"{ "some": "config" }"#.to_owned().into();
17+
let config = r#"{ "hello": "world", "task_id" : "ed1eeec9-2f39-442d-9e70-563454b866c0", "instance_id": "5220ff9b-2ab2-4cf8-b9ad-b948c3b94f08" }"#.to_owned().into();
1818

1919
WorkUnit {
2020
job_id,

src/agent/onefuzz-task/src/managed/cmd.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ pub async fn run(args: &clap::ArgMatches) -> Result<()> {
2828
write!(
2929
w,
3030
"[{}] [{}] {}",
31-
now.now_utc_owned().format("%Y-%m-%d %H:%M:%S%.4f"),
31+
now.now_utc_owned().format("%Y-%m-%d %H:%M:%S%.6f UTC"),
3232
record.level(),
3333
&record.args()
3434
)

0 commit comments

Comments
 (0)