Integrated: vcs: make RepositoryTests deterministic

Erik Helin ehelin at
Tue Mar 16 10:20:12 UTC 2021

On Tue, 16 Mar 2021 09:57:44 GMT, Erik Helin <ehelin at> wrote:

> Hi all,
> please review this small patch to make the test `RepositoryTests.testCommitMetadataWithBranchesWithGit` deterministic. The problem is that different versions of `git` can traverse the commit graph differently and the resulting list from the call to `commitMetadataFor` might therefore contain commits in an unknown order. The test should therefore not assume that the commits are ordered in a particular way, but instead ensure that the list contains only the expected commits.
> Thanks,
> Erik

This pull request has now been integrated.

Changeset: 79e20565
Author:    Erik Helin <ehelin at>
Stats:     7 lines in 1 file changed: 0 ins; 0 del; 7 mod

vcs: make RepositoryTests deterministic

Reviewed-by: rwestberg



More information about the skara-dev mailing list