Skip to content
This repository was archived by the owner on Oct 27, 2025. It is now read-only.

Commit 85c8709

Browse files
committed
Mark tests ffiOnly
1 parent 9481cfb commit 85c8709

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

tests/FunctionsTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ class FunctionsTest extends TestCase
1717
{
1818
use RequireVersionTrait;
1919

20+
/**
21+
* @group ffiOnly
22+
*/
2023
public function testErr2name(): void
2124
{
2225
$this->assertSame('NO_ERROR', rd_kafka_err2name(RD_KAFKA_RESP_ERR_NO_ERROR));

tests/RdKafka/ConfTest.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,9 @@ function ($producer, $message) use (&$drMsgCallbackStack): void {
297297
$producer->flush(KAFKA_TEST_TIMEOUT_MS);
298298
}
299299

300+
/**
301+
* @group ffiOnly
302+
*/
300303
public function testSetDrMsgCbWithOpaque(): void
301304
{
302305
$expectedOpaque = new \stdClass();
@@ -357,6 +360,9 @@ function (Consumer $consumer, string $json, int $json_len, $opaque = null) use (
357360
$this->assertSame([], $stats['brokers']);
358361
}
359362

363+
/**
364+
* @group ffiOnly
365+
*/
360366
public function testSetStatsCbWithOpaque(): void
361367
{
362368
$expectedOpaque = new \stdClass();
@@ -482,6 +488,8 @@ function (KafkaConsumer $consumer, int $err, array $topicPartitions, $opaque = n
482488

483489
/**
484490
* Note: if this tests runs too long it will fail
491+
*
492+
* @group ffiOnly
485493
*/
486494
public function testSetRebalanceCbWithOpaque(): void
487495
{
@@ -571,6 +579,9 @@ function (
571579
$this->assertSame(20, $offsetCommitCallbackStack[0]['topicPartitions'][0]->getOffset());
572580
}
573581

582+
/**
583+
* @group ffiOnly
584+
*/
574585
public function testSetOffsetCommitCbWithOpaque(): void
575586
{
576587
$expectedOpaque = new \stdClass();

0 commit comments

Comments
 (0)