fix: Rename a variable from expected_wal to expected_wall, it's wall clock

pull/24376/head
Carol (Nichols || Goulding) 2021-04-19 16:58:55 -04:00 committed by kodiakhq[bot]
parent 88ca1a5245
commit 18d253e82a
1 changed files with 2 additions and 2 deletions

View File

@ -572,7 +572,7 @@ mod tests {
let assert_complete = |status: TaskStatus,
expected_cpu: std::time::Duration,
expected_wal: std::time::Duration| {
expected_wall: std::time::Duration| {
match status {
TaskStatus::Complete {
cpu_nanos,
@ -580,7 +580,7 @@ mod tests {
..
} => {
assert_fuzzy(cpu_nanos, expected_cpu);
assert_fuzzy(wall_nanos, expected_wal);
assert_fuzzy(wall_nanos, expected_wall);
}
_ => panic!("expected complete got {:?}", status),
}