mirror of
https://github.com/crowdsecurity/crowdsec.git
synced 2025-05-11 20:36:12 +02:00
tests: refact localtest helper, use testify.suite (#3574)
This commit is contained in:
parent
7396a103d0
commit
7c4e91d304
8 changed files with 147 additions and 386 deletions
|
@ -127,8 +127,7 @@ func createTopic(topic string, broker string) {
|
|||
}
|
||||
|
||||
func TestStreamingAcquisition(t *testing.T) {
|
||||
cstest.SkipOnWindows(t)
|
||||
cstest.SkipIfDefined(t, "TEST_LOCAL_ONLY")
|
||||
cstest.SetAWSTestEnv(t)
|
||||
|
||||
ctx := t.Context()
|
||||
|
||||
|
@ -200,8 +199,7 @@ topic: crowdsecplaintext`), subLogger, configuration.METRICS_NONE)
|
|||
}
|
||||
|
||||
func TestStreamingAcquisitionWithSSL(t *testing.T) {
|
||||
cstest.SkipIfDefined(t, "TEST_LOCAL_ONLY")
|
||||
cstest.SkipOnWindows(t)
|
||||
cstest.SetAWSTestEnv(t)
|
||||
|
||||
ctx := t.Context()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue