diff options
author | Simon L <szaimen@e.mail.de> | 2023-05-19 23:29:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-19 23:29:24 +0200 |
commit | 3d2d1c171ec435e1519c8319e3f141d7381cb4cb (patch) | |
tree | 3009874fc92ea97764d151741ca7b2b074ba4f15 /tests/lib | |
parent | 8cca865d8030e376316a022826563fc94e578ff4 (diff) | |
parent | c6cee282b345842f30afc52478d7b30696bed29d (diff) | |
download | nextcloud-server-3d2d1c171ec435e1519c8319e3f141d7381cb4cb.tar.gz nextcloud-server-3d2d1c171ec435e1519c8319e3f141d7381cb4cb.zip |
Merge pull request #37758 from nextcloud/redis-atomic
redis: use atomic operations everywhere
Diffstat (limited to 'tests/lib')
-rw-r--r-- | tests/lib/Memcache/RedisTest.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/lib/Memcache/RedisTest.php b/tests/lib/Memcache/RedisTest.php index 276dbf3a550..b94b69a5e6a 100644 --- a/tests/lib/Memcache/RedisTest.php +++ b/tests/lib/Memcache/RedisTest.php @@ -56,4 +56,10 @@ class RedisTest extends Cache { parent::setUp(); $this->instance = new \OC\Memcache\Redis($this->getUniqueID()); } + + public function testScriptHashes() { + foreach (\OC\Memcache\Redis::LUA_SCRIPTS as $script) { + $this->assertEquals(sha1($script[0]), $script[1]); + } + } } |