bazel icon indicating copy to clipboard operation
bazel copied to clipboard

[7.4.0] Fix cache duration computation in CredentialCacheExpiry.

Open bazel-io opened this issue 5 months ago • 0 comments

Also use the supplied current time instead of calling Instant.now().

I don't know how to meaningfully test this; there's so little going on that the test would essentially mirror the implementation.

Fixes #23429.

PiperOrigin-RevId: 668351088 Change-Id: I12f1575e5280330c61361e4cf1b7d9f9231f16eb

Commit https://github.com/bazelbuild/bazel/commit/5209ce7587d4f8da37d7492d91d0aac1b91ab249

bazel-io avatar Aug 28 '24 09:08 bazel-io