Tests: Increase OS detection time, sometimes it is not ready by 5s (#14133)

This commit is contained in:
Tony Murray
2022-07-22 16:27:25 -05:00
committed by GitHub
parent 0bbcde1227
commit b13ba8c574

View File

@@ -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");
}