mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-03 00:40:25 +02:00
skip redis cluster on non-linux systems (#2045)
This commit is contained in:
parent
9980206073
commit
8f97b0d6ee
1 changed files with 12 additions and 10 deletions
|
@ -91,17 +91,19 @@ func TestBackend(t *testing.T) {
|
|||
}))
|
||||
})
|
||||
|
||||
t.Run("cluster", func(t *testing.T) {
|
||||
require.NoError(t, testutil.WithTestRedisCluster(func(rawURL string) error {
|
||||
return handler(t, false, rawURL)
|
||||
}))
|
||||
})
|
||||
if runtime.GOOS == "linux" {
|
||||
t.Run("cluster", func(t *testing.T) {
|
||||
require.NoError(t, testutil.WithTestRedisCluster(func(rawURL string) error {
|
||||
return handler(t, false, rawURL)
|
||||
}))
|
||||
})
|
||||
|
||||
t.Run("sentinel", func(t *testing.T) {
|
||||
require.NoError(t, testutil.WithTestRedisSentinel(func(rawURL string) error {
|
||||
return handler(t, false, rawURL)
|
||||
}))
|
||||
})
|
||||
t.Run("sentinel", func(t *testing.T) {
|
||||
require.NoError(t, testutil.WithTestRedisSentinel(func(rawURL string) error {
|
||||
return handler(t, false, rawURL)
|
||||
}))
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
func TestChangeSignal(t *testing.T) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue