test(phpunit): skip sharding tests on 32bit

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
pull/47612/head
Arthur Schiwon 2024-08-29 20:18:35 +07:00
parent cb31a40d99
commit 656412daa4
No known key found for this signature in database
GPG Key ID: 7424F1874854DF23
2 changed files with 6 additions and 0 deletions

@ -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);

@ -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);
}