(ctx cost.TrackContext, value ref.Val)
| 377 | } |
| 378 | |
| 379 | func (testConcurrentSizingStrategy) TrackSize(ctx cost.TrackContext, value ref.Val) (uint64, bool) { |
| 380 | return 10, true |
| 381 | } |
| 382 | |
| 383 | func TestTracker_ConcurrentCloneRace(t *testing.T) { |
| 384 | tracker, err := cost.NewTracker(nil, cost.WithSizingStrategy(testConcurrentSizingStrategy{})) |
nothing calls this directly
no outgoing calls
no test coverage detected