The issue seems to repeat only when innodb_flush_method is default and not O_DIRECT. This is due to running the tests on VM, the VM doesn't handle the fsync correctly, this can happen due to dual caching on VM and on host. So this shouldn't occur normally.
Hence, closing the issue for now. (as fix committed since a merge fix was fixed there)
The issue seems to repeat only when innodb_flush_method is default and not O_DIRECT. This is due to running the tests on VM, the VM doesn't handle the fsync correctly, this can happen due to dual caching on VM and on host. So this shouldn't occur normally.
Hence, closing the issue for now. (as fix committed since a merge fix was fixed there)