commit | 8c636317a4a7b255f6dcf5f4cf1152654551122d | [log] [tgz] |
---|---|---|
author | Kousik Kumar <kousikk@google.com> | Wed Sep 02 07:27:08 2020 +0000 |
committer | Kousik Kumar <kousikk@google.com> | Wed Sep 02 07:27:08 2020 +0000 |
tree | 3e415f55ba98c0671cb158e2305ca07580759d45 | |
parent | 41fea373084987f3bd22cb92ca0113dcf9a91e82 [diff] |
Make Store() and Delete() mutually exclusive There's a race condition where we might sometimes delete a value after Store() and before LoadOrStore(), so the test fails flakily. Making them mutually exclusive so they don't fail anymore. Test: bazelisk test --runs_per_test 200 --features race //go/pkg/cache/singleflightcache:go_default_test --test_output=streamed --test_filter="TestStore" (this failed 4/200 without the fix and 0/400 with the fix).
This repository contains SDKs for the Remote Execution API.
See each language subdirectory's README.md
for more specific instructions on using the SDK for that language.