Skip to content

Commit 49c2017

Browse files
pingsutwCopilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Signed-off-by: Kevin Su <pingsutw@gmail.com>
1 parent a840549 commit 49c2017

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

flytestdlib/autorefreshcache/auto_refresh_example_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ func ExampleNewAutoRefreshCache() {
116116
// the expected condition (instead of sleeping a fixed duration) keeps this example deterministic
117117
// even when the async worker is slow under load.
118118
var item Item
119-
deadline := time.Now().Add(3 * time.Second)
119+
deadline := time.Now().Add(10 * time.Second)
120120
for {
121121
item, err = cache.Get(item1.ID())
122122
if err != nil && errors.IsCausedBy(err, ErrNotFound) {

0 commit comments

Comments
 (0)