fix: CI test failures on Windows
- TestVersionChangesCoverage: Add missing 3rd changelog entry for v0.25.1 - TestDefaultPath: Use filepath.Join for cross-platform path handling - TestDebouncer_CancelWithNoPendingAction: Increase sleep from 60ms to 100ms to account for Windows timer imprecision 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -80,7 +80,8 @@ func TestDebouncer_CancelWithNoPendingAction(t *testing.T) {
|
||||
debouncer.Cancel()
|
||||
|
||||
debouncer.Trigger()
|
||||
time.Sleep(60 * time.Millisecond)
|
||||
// Use longer wait to account for Windows timer imprecision
|
||||
time.Sleep(100 * time.Millisecond)
|
||||
if got := atomic.LoadInt32(&count); got != 1 {
|
||||
t.Errorf("action should fire normally after cancel with no pending action: got %d, want 1", got)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user