mirror of
https://github.com/stylersnico/librenms.git
synced 2026-08-03 00:11:49 +02:00
Removed duplicated testcase on issue #27
This commit is contained in:
@@ -455,26 +455,6 @@ class ClientTest extends \PHPUnit_Framework_TestCase
|
|||||||
$object->mark("udp.test", ["mark" => "element"]);
|
$object->mark("udp.test", ["mark" => "element"]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @group udp
|
|
||||||
*/
|
|
||||||
public function testReplicateIssue27()
|
|
||||||
{
|
|
||||||
$options = new \InfluxDB\Options();
|
|
||||||
|
|
||||||
// Configure options
|
|
||||||
$options->setHost('172.16.1.182');
|
|
||||||
$options->setPort(4444);
|
|
||||||
$options->setDatabase('...');
|
|
||||||
$options->setUsername('root');
|
|
||||||
$options->setPassword('root');
|
|
||||||
|
|
||||||
$udpAdapter = new \InfluxDB\Adapter\UdpAdapter($options);
|
|
||||||
$client = new \InfluxDB\Client($udpAdapter);
|
|
||||||
|
|
||||||
$client->mark("udp.test", ["mark" => "element"]);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @group udp
|
* @group udp
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user