Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
gaby committed Dec 16, 2024
1 parent 931653f commit 373ac79
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions time_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,8 @@ func Test_StopTimeStampUpdater(t *testing.T) {
// Capture the timestamp after stopping
stoppedTime := Timestamp()

// Wait TO see if it updates
// Wait before checking the timestamp
time.Sleep(5 * time.Second)

// It should not have changed since we've stopped the updater
require.Equal(t, stoppedTime, Timestamp(), "timestamp should not change after stopping updater")
}
Expand Down

0 comments on commit 373ac79

Please sign in to comment.