Skip to content

Commit ac25d17

Browse files
committed
Play around with E2E tests to improve.
1 parent af768f8 commit ac25d17

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.buildkite/scripts/e2e-pipeline/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from plugin_test import PluginTest
99
import util
1010

11-
INTEGRATION_PACKAGES_TO_TEST = ["apache", "m365_defender", "nginx", "tomcat"]
11+
INTEGRATION_PACKAGES_TO_TEST = ["m365_defender"]
1212

1313

1414
class BootstrapContextManager:

.buildkite/scripts/e2e-pipeline/plugin_test.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
A class to validate the Integration Plugin with a given integration package
33
"""
44
import subprocess
5+
import time
56
from logstash_stats import LogstashStats
67

7-
88
class PluginTest:
99
logstash_stats_api = LogstashStats()
1010
LAST_PROCESSED_EVENTS = {"in": 0, "out": 0}
@@ -58,4 +58,5 @@ def on(self, package: str) -> None:
5858
for result_line in result.stdout.splitlines(): print(f"{result_line}")
5959

6060
# although there was an error, le's check how LS performed and make sure errors weren't because of Logstash
61+
time.sleep(20)
6162
self.__analyze_logstash_throughput(package, result)

0 commit comments

Comments
 (0)