(b *testing.B)
| 195 | } |
| 196 | |
| 197 | func BenchmarkTestRuntimeCache_Set(b *testing.B) { |
| 198 | cache := NewRuntimeCache() |
| 199 | for i := 0; i < b.N; i++ { |
| 200 | cache.Set(TESTCacheKey+strconv.Itoa(i), TESTCacheValue, 0) |
| 201 | } |
| 202 | } |
| 203 | |
| 204 | func TestRuntimeCache_ConcurrentGetSetError(t *testing.T) { |
| 205 | cache := NewRuntimeCache() |
nothing calls this directly
no test coverage detected