tests: refact localtest helper, use testify.suite (#3574)

This commit is contained in:
mmetc 2025-04-17 17:35:28 +02:00 committed by GitHub
parent 7396a103d0
commit 7c4e91d304
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 147 additions and 386 deletions

View file

@ -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()