Format code to suite goimports style
This commit is contained in:
parent
9cde362ab2
commit
55cd46c738
|
@ -1,8 +1,9 @@
|
|||
package cmd
|
||||
|
||||
import (
|
||||
cmd "github.com/elastic/beats/libbeat/cmd"
|
||||
"github.com/icinga/icingabeat/beater"
|
||||
|
||||
cmd "github.com/elastic/beats/libbeat/cmd"
|
||||
)
|
||||
|
||||
// Name of this beat
|
||||
|
|
|
@ -2,6 +2,7 @@ import sys
|
|||
sys.path.append('../../vendor/github.com/elastic/beats/libbeat/tests/system')
|
||||
from beat.beat import TestCase
|
||||
|
||||
|
||||
class BaseTest(TestCase):
|
||||
|
||||
@classmethod
|
||||
|
|
|
@ -10,10 +10,10 @@ class Test(BaseTest):
|
|||
Basic test with exiting Icingabeat normally
|
||||
"""
|
||||
self.render_config_template(
|
||||
path=os.path.abspath(self.working_dir) + "/log/*"
|
||||
path=os.path.abspath(self.working_dir) + "/log/*"
|
||||
)
|
||||
|
||||
icingabeat_proc = self.start_beat()
|
||||
self.wait_until( lambda: self.log_contains("icingabeat is running"))
|
||||
self.wait_until(lambda: self.log_contains("icingabeat is running"))
|
||||
exit_code = icingabeat_proc.kill_and_wait()
|
||||
assert exit_code == 0
|
||||
|
|
Loading…
Reference in New Issue