mirror of https://github.com/go-gitea/gitea
Fix nondeterministic behavior (#9341)
The underlying implementation of os.exec uses channels and goroutines. It is possible to have time-variant error values returned from Cmd.Wait depending on which comes first. Also, the git subcommand and options should be separated tokens. Fixes a flaky test in modules/git/command_test.gopull/9348/head
parent
39db99a595
commit
6e6936d73d
Loading…
Reference in new issue