mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Tests: Increase OS detection time, sometimes it is not ready by 5s (#14133)
This commit is contained in:
@@ -129,7 +129,7 @@ class OSDiscoveryTest extends TestCase
|
||||
Debug::set(false);
|
||||
Debug::setVerbose(false);
|
||||
|
||||
$this->assertLessThan(5, microtime(true) - $start, "OS $expected_os took longer than 5s to detect");
|
||||
$this->assertLessThan(10, microtime(true) - $start, "OS $expected_os took longer than 10s to detect");
|
||||
$this->assertEquals($expected_os, $os, "Test file: $community.snmprec\n$output");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user