Skip to content

Commit 89a66a6

Browse files
authored
Merge pull request #138 from GabrielSalla/adjust-test-threshold
Adjust test threshold
2 parents 6e88788 + f092cf6 commit 89a66a6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/version_tag.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,5 @@ jobs:
4242
run: |
4343
git config user.name "github-actions[bot]"
4444
git config user.email "github-actions[bot]@users.noreply.github.com"
45-
git tag -a "${{ steps.get_version.outputs.version }}"
45+
git tag -a "${{ steps.get_version.outputs.version }}" -m "${{ steps.get_version.outputs.version }}"
4646
git push origin "${{ steps.get_version.outputs.version }}"

tests/utils/test_log.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ def test_json_formatter(capsys, monkeypatch, fields, level):
192192
assert value == level.upper()
193193
elif key in ("time", "timestamp"):
194194
assert isinstance(value, float)
195-
assert value > time.time() - 0.001
195+
assert value > time.time() - 0.005
196196
else:
197197
assert False, "Unexpected field in log"
198198

0 commit comments

Comments
 (0)