[chore] Skip webfinger test on CI (#1983)

This commit is contained in:
Daenney 2023-07-12 17:09:49 +02:00 committed by GitHub
parent 1951e6c840
commit 88688899aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,6 +19,7 @@ package transport_test
import ( import (
"context" "context"
"os"
"testing" "testing"
"time" "time"
@ -42,6 +43,10 @@ func (suite *FingerTestSuite) TestFinger() {
} }
func (suite *FingerTestSuite) TestFingerWithHostMeta() { func (suite *FingerTestSuite) TestFingerWithHostMeta() {
if os.Getenv("CI") == "true" {
suite.T().Skip("this test is flaky on CI for as of yet unknown reasons")
}
wc := suite.state.Caches.GTS.Webfinger() wc := suite.state.Caches.GTS.Webfinger()
suite.Equal(0, wc.Len(), "expect webfinger cache to be empty") suite.Equal(0, wc.Len(), "expect webfinger cache to be empty")