Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Relax transfer bytes check even more
On EPEL8 builds for s390x this transfers ~3040 bytes: __________________________________ test_fetch __________________________________ emptyrepo = pygit2.Repository('/tmp/pytest-of-mockbuild/pytest-0/test_fetch0/emptyrepo/.git/') def test_fetch(emptyrepo): remote = emptyrepo.remotes[0] stats = remote.fetch() assert stats.received_bytes > 2700 > assert stats.received_bytes < 2800 E assert 3041 < 2800 E + where 3041 = <pygit2.remotes.TransferProgress object at 0x3ffa8668dd0>.received_bytes test/test_remote.py:218: AssertionError Would be too easy if this were deterministic. Signed-off-by: Nils Philippsen <nils@redhat.com>
- Loading branch information