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 9edc373 commit 601364a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG-developer.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ The list below covers the major changes between 7.0.0-rc2 and main only.
- 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.
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 601364a

Please sign in to comment.