0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-12-10 13:15:04 +01:00
Signed-off-by: a1012112796 <1012112796@qq.com>
This commit is contained in:
a1012112796 2023-06-30 08:49:08 +00:00
parent fcf3100826
commit 3a781c484b
No known key found for this signature in database
GPG Key ID: 8304C4283E1B3141

View File

@ -66,6 +66,6 @@ func TestBaseRedis(t *testing.T) {
}
}
testQueueBasic(t, newBaseRedisSimple, toBaseConfig("baseRedis", setting.QueueSettings{Length: 10}), false)
testQueueBasic(t, newBaseRedisUnique, toBaseConfig("baseRedisUnique", setting.QueueSettings{Length: 10}), true)
testQueueBasic(t, newBaseRedisSimple, toBaseConfig("baseRedis", setting.QueueSettings{Length: 10, ConnStr: "redis://redis:6379/0"}), false)
testQueueBasic(t, newBaseRedisUnique, toBaseConfig("baseRedisUnique", setting.QueueSettings{Length: 10, ConnStr: "redis://redis:6379/0"}), true)
}