[CI] disable redis test, no redis server yet in CI
(cherry picked from commite1bbfa3619
) (cherry picked from commit91245ca917
) (cherry picked from commit705d0558be
) (cherry picked from commit9247594970
) (cherry picked from commit9db1158a48
) (cherry picked from commit3b36b77d87
) (cherry picked from commit162fa1d8ae
) (cherry picked from commitd03d0afbb5
) (cherry picked from commit7b8f92f787
) (cherry picked from commit035abca969
) (cherry picked from commita8fbf6bb56
) (cherry picked from commit 3be681d037b07880236cae1aa70245e5eb4d1497) (cherry picked from commit7e5d471c83
)
This commit is contained in:
parent
aee80f630b
commit
323801d935
1 changed files with 2 additions and 2 deletions
|
@ -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())
|
||||||
|
|
Loading…
Reference in a new issue