From fce6f152e8a8b122224684e240439af4e0e877dc Mon Sep 17 00:00:00 2001 From: fogelito Date: Wed, 15 Jun 2022 10:47:46 +0300 Subject: [PATCH] Test Index Limit Comment --- tests/e2e/Services/Database/DatabaseCustomServerTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/e2e/Services/Database/DatabaseCustomServerTest.php b/tests/e2e/Services/Database/DatabaseCustomServerTest.php index a6febe5060..b2f2b4267c 100644 --- a/tests/e2e/Services/Database/DatabaseCustomServerTest.php +++ b/tests/e2e/Services/Database/DatabaseCustomServerTest.php @@ -789,8 +789,8 @@ class DatabaseCustomServerTest extends Scope $this->assertEquals('available', $attribute['status'], 'attribute: ' . $attribute['key']); } - // testing for indexLimit = 64 - // MariaDB, MySQL, and MongoDB create 3 indexes per new collection + // Test indexLimit = 64 + // MariaDB, MySQL, and MongoDB create 5 indexes per new collection // Add up to the limit, then check if the next index throws IndexLimitException for ($i = 0; $i < 59; $i++) { // $this->assertEquals(true, static::getDatabase()->createIndex('indexLimit', "index{$i}", Database::INDEX_KEY, ["test{$i}"], [16]));