Skip to content

Commit c3eba20

Browse files
phlogistonjohnobnoxxx
authored andcommitted
integration tests: flush the cache on every attempt
This helped make the test runs a tiny bit more reliable when I ran them locally. Signed-off-by: John Mulligan <[email protected]>
1 parent 04452c8 commit c3eba20

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/integration/share_access_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ func requireSMBLogin(
103103
err := poll.TryUntil(ctx2, &poll.Prober{
104104
RetryInterval: loginTestInterval,
105105
Cond: func() (bool, error) {
106+
_ = client.CacheFlush(ctx)
106107
cmderr = client.Command(
107108
ctx,
108109
share,

0 commit comments

Comments
 (0)