mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
disable gravatar in test (#32529)
When running e2e tests on flaky networks, gravatar can cause a timeout and test failures. Turn off, and populate avatars on e2e test suite run to make them reliable.
This commit is contained in:
@@ -107,7 +107,7 @@ func TestE2e(t *testing.T) {
|
||||
cmd.Stdout = &stdout
|
||||
cmd.Stderr = &stderr
|
||||
|
||||
err := cmd.Run()
|
||||
err = cmd.Run()
|
||||
if err != nil {
|
||||
// Currently colored output is conflicting. Using Printf until that is resolved.
|
||||
fmt.Printf("%v", stdout.String())
|
||||
|
Reference in New Issue
Block a user