mirror of
1
Fork 0

[CI] disable redis test, no redis server yet in CI

(cherry picked from commit e1bbfa3619)
This commit is contained in:
Earl Warren 2023-05-16 07:58:42 +02:00
parent 15e6485ae1
commit 91245ca917
No known key found for this signature in database
GPG Key ID: 0579CB2928A78A00
1 changed files with 2 additions and 2 deletions

View File

@ -56,8 +56,8 @@ func TestBaseRedis(t *testing.T) {
}() }()
if !waitRedisReady("redis://127.0.0.1:6379/0", 0) { if !waitRedisReady("redis://127.0.0.1:6379/0", 0) {
redisServer = redisServerCmd(t) redisServer = redisServerCmd(t)
if redisServer == nil && os.Getenv("CI") == "" { if true {
t.Skip("redis-server not found") t.Skip("redis-server not found in Forgejo test yet")
return return
} }
assert.NoError(t, redisServer.Start()) assert.NoError(t, redisServer.Start())