mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
test(phpunit): skip sharding tests on 32bit
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
edaa4d1432
commit
b71c539b5c
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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue