fix: increase Windows filesystem delays in flaky tests
- TestDaemonAutoImportAfterGitPull: 200ms -> 500ms for filesystem timestamp precision - TestSyncBranchPull_Success: 100ms -> 300ms for file I/O settling - Also increase Linux delays slightly for more reliability
This commit is contained in:
@@ -563,9 +563,10 @@ func TestSyncBranchPull_Success(t *testing.T) {
|
||||
t.Error("JSONL not copied to main repo after pull")
|
||||
}
|
||||
|
||||
// On Windows, file I/O may need time to settle
|
||||
// On Windows, file I/O may need more time to settle
|
||||
// Increase delay significantly for reliable CI tests
|
||||
if runtime.GOOS == "windows" {
|
||||
time.Sleep(100 * time.Millisecond)
|
||||
time.Sleep(300 * time.Millisecond)
|
||||
}
|
||||
|
||||
// Verify JSONL content matches
|
||||
|
||||
Reference in New Issue
Block a user