Fix tests, take 2

1 job for history_refactor in 1 minute and 37 seconds (queued for 1 second)
Status Job ID Name Coverage
  Test
failed #4456
build

00:01:37

 
Name Stage Failure
failed
build Test


failures:
test::test_in_file_history_truncating

test result: FAILED. 165 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out

error: test failed, to rerun pass '--lib'
ERROR: Job failed: exit code 1