After hacking in some extra checks, it turns out that the test sometimes gets a truncated file from the librarian. The truncated data is 123 bytes long, which happens to match LibraryFileContent.filesize. Perhaps the librarian sometimes uses filesize.
After hacking in some extra checks, it turns out that the test sometimes gets a truncated file from the librarian. The truncated data is 123 bytes long, which happens to match LibraryFileCont ent.filesize. Perhaps the librarian sometimes uses filesize.