diff --git a/tests/lib/DB/QueryBuilder/Partitioned/PartitionedQueryBuilderTest.php b/tests/lib/DB/QueryBuilder/Partitioned/PartitionedQueryBuilderTest.php index 0397ce687767b..12ba74fe89fe0 100644 --- a/tests/lib/DB/QueryBuilder/Partitioned/PartitionedQueryBuilderTest.php +++ b/tests/lib/DB/QueryBuilder/Partitioned/PartitionedQueryBuilderTest.php @@ -26,6 +26,9 @@ class PartitionedQueryBuilderTest extends TestCase { private AutoIncrementHandler $autoIncrementHandler; protected function setUp(): void { + if (PHP_INT_SIZE < 8) { + $this->markTestSkipped('Test requires 64bit'); + } $this->connection = Server::get(IDBConnection::class); $this->shardConnectionManager = Server::get(ShardConnectionManager::class); $this->autoIncrementHandler = Server::get(AutoIncrementHandler::class); diff --git a/tests/lib/DB/QueryBuilder/Sharded/SharedQueryBuilderTest.php b/tests/lib/DB/QueryBuilder/Sharded/SharedQueryBuilderTest.php index 7af93bbbe590a..8f95c1b626352 100644 --- a/tests/lib/DB/QueryBuilder/Sharded/SharedQueryBuilderTest.php +++ b/tests/lib/DB/QueryBuilder/Sharded/SharedQueryBuilderTest.php @@ -27,6 +27,9 @@ class SharedQueryBuilderTest extends TestCase { private AutoIncrementHandler $autoIncrementHandler; protected function setUp(): void { + if (PHP_INT_SIZE < 8) { + $this->markTestSkipped('Test requires 64bit'); + } $this->connection = Server::get(IDBConnection::class); $this->autoIncrementHandler = Server::get(AutoIncrementHandler::class); }