Skip to content

Commit

Permalink
Update FileHandleTests.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
gjcairo authored Aug 13, 2024
1 parent d58915a commit df616f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/NIOFileSystemIntegrationTests/FileHandleTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1258,7 +1258,7 @@ final class FileHandleTests: XCTestCase {
)
let estimatedCurrentTimeInSeconds = Date.now.timeIntervalSince1970

// Assert that the times are equal to the current time, with up to 10 seconds difference
// Assert that the times are equal to the current time, with up to a second difference
// to avoid timing flakiness. Both the last accessed and last modification times should
// also equal each other.
actualLastAccessTime = try await handle.info().lastAccessTime
Expand Down Expand Up @@ -1286,7 +1286,7 @@ final class FileHandleTests: XCTestCase {
try await handle.touch()
let estimatedCurrentTimeInSeconds = Date.now.timeIntervalSince1970

// Assert that the times are equal to the current time, with up to 10 seconds difference
// Assert that the times are equal to the current time, with up to a second difference
// to avoid timing flakiness. Both the last accessed and last modification times should
// also equal each other.
actualLastAccessTime = try await handle.info().lastAccessTime
Expand Down

0 comments on commit df616f1

Please sign in to comment.