Skip to content

Instantly share code, notes, and snippets.

(python-env) root@debian:~/go/src/github.com/elastic/beats/filebeat# GENERATE=1 INTEGRATION_TESTS=1 BEAT_STRICT_PERMS=false TESTING_FILEBEAT_MODULES=haproxy nosetests tests/system/test_modules.py
EEEE.
======================================================================
ERROR: test_fileset_file_0_haproxy (test_modules.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/root/go/src/github.com/elastic/beats/filebeat/build/python-env/local/lib/python2.7/site-packages/parameterized/parameterized.py", line 518, in standalone_func
return func(*(a + p.args), **p.kwargs)
File "/root/go/src/github.com/elastic/beats/filebeat/tests/system/test_modules.py", line 106, in test_fileset_file
cfgfile=cfgfile)
#!/bin/bash
#
# Author: Tomas Herceg <tth@rfa.cz>
# Fixed irqbalancing maping for eth and sas, because sometimes irqbalance sucks
[ "$1" == "debug" ] && debug=true || debug=false
$debug && set -x
systemctl disable irqbalance &>/dev/null
systemctl stop irqbalance &>/dev/null