mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-26 10:13:23 +01:00
[chore] Skip webfinger test on CI (#1983)
This commit is contained in:
parent
1951e6c840
commit
88688899aa
@ -19,6 +19,7 @@
|
|||||||
|
|
||||||
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")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user