Skip to content

Commit

Permalink
Feature/improve tests syntax (#35667)
Browse files Browse the repository at this point in the history
* feature/improve-tests-syntax, update increment

* feature/improve-tests-syntax, update increment

* feature/improve-tests-syntax, update increment

* feature/improve-tests-syntax, improve changelog

* feature/feature/improve-tests-syntax, add summary to proper changelog file

(cherry picked from commit 949d713)
  • Loading branch information
bgvladedivac authored and mergify[bot] committed Jun 6, 2023
1 parent 7169b26 commit aaf1b02
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG-developer.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,21 @@ The list below covers the major changes between 7.0.0-rc2 and master only.
- Introduce `libbeat/beat.Beat.OutputConfigReloader` {pull}28048[28048]
- Update Go version to 1.17.1. {pull}27543[27543]
- Whitelist `GCP_*` environment variables in dev tools {pull}28364[28364]
- Add support for `credentials_json` in `gcp` module, all metricsets {pull}29584[29584]
- Add gcp firestore metricset. {pull}29918[29918]
- Added TESTING_FILEBEAT_FILEPATTERN option for filebeat module pytests {pull}30103[30103]
- Improve tests files with shorter statements. {pull}35667[35667]
- Add gcp dataproc metricset. {pull}30008[30008]
- Add Github action for linting
- Add regex support for drop_fields processor.
- Improve compatibility and reduce flakyness of Python tests {pull}31588[31588]
- Added `.python-version` file {pull}32323[32323]
- Use `T.TempDir` to create temporary test directory {pull}33082[33082]
- Add an option to disable event normalization when creating a `beat.Client`. {pull}33657[33657]
- Add the file path of the instance lock on the error when it's is already locked {pull}33788[33788]
- Add DropFields processor to js API {pull}33458[33458]
- Add support for different folders when testing data {pull}34467[34467]
- Add logging of metric registration in inputmon. {pull}35647[35647]

==== Deprecated

Expand Down
2 changes: 1 addition & 1 deletion filebeat/tests/load/load.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@
randomString = ''.join(random.choice(string.ascii_uppercase + string.digits) for _ in range(length))
log_message = timestamp + " " + str(count) + " " + str(uuid.uuid4()) + " " + randomString
my_logger.debug(log_message)
count = count + 1
count += 1
time.sleep(sleepTime)
2 changes: 1 addition & 1 deletion filebeat/tests/open-file-handlers/log_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
while True:
# for i in range(0, 10000):
time.sleep(random.uniform(0, 0.1))
i = i + 1
i += 1
# Tries to cause some more heavy peaks
events = random.randrange(10) + 1
for n in range(events):
Expand Down

0 comments on commit aaf1b02

Please sign in to comment.