Skip to content

Commit 1a45a9a

Browse files
committed
removed flakey dns test
1 parent 19f336d commit 1a45a9a

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

tests/Performance/PerformanceTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function testBigRandomData(string $alias): void
5050
'id' => 'xyz',
5151
];
5252

53-
for ($i = 0; $i < 100000; ++$i) {
53+
for ($i = 0; $i < 50000; ++$i) {
5454
$params[base64_encode(random_bytes(32))] = base64_encode(random_bytes(128));
5555
}
5656

tests/Unit/DNSAddressResolverTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,8 @@ public function testResolverGoogleDotComReverse(): void
3737
{
3838
$records = [...$this->resolver->getAddresses('8.8.8.8')];
3939

40-
$this->assertEqualsCanonicalizing(['8.8.8.8', 'dns.google'], $records);
4140
$this->assertNotEmpty($records);
42-
$this->assertEquals('8.8.8.8', $records[0]);
41+
$this->assertContains('8.8.8.8', $records);
4342
}
4443

4544
public function testBogus(): void

0 commit comments

Comments
 (0)