refactor: pre-commit.php updates (#8679)

Disable the log for unit tests to speed things up hopefully
This commit is contained in:
Tony Murray
2018-05-09 06:53:45 -05:00
committed by Neil Lathwood
parent 5273b291bf
commit 8afafe7eb0
9 changed files with 53 additions and 61 deletions
+1 -1
View File
@@ -51,8 +51,8 @@ ini_set('display_errors', 1);
update_os_cache(true); // Force update of OS Cache
$snmpsim = new Snmpsim('127.1.6.2', 1162, null);
if (getenv('SNMPSIM')) {
$snmpsim = new Snmpsim('127.1.6.2');
$snmpsim->fork();
// make PHP hold on a reference to $snmpsim so it doesn't get destructed