test_commit.py: time.sleep in test_returns_newest_first makes test slow #130
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
thwap/hottea#130
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
tests/test_commit.py:95-97usestime.sleep(1.1)between commits to ensure different timestamps. This adds 2.2s+ to test execution.Use
GIT_AUTHOR_DATE/GIT_COMMITTER_DATEenvironment variables to set explicit dates instead, avoiding sleep. Pattern already exists intest_uses_author_date_not_commit_date.Ref: PR #128