- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestCleanIndexesOnEvict (0.25 sec)
-
pilot/pkg/model/typed_xds_cache_test.go
assert.Equal(t, cache.configIndexSnapshot(), map[ConfigHash]sets.Set[uint64]{ ConfigKey{Kind: kind.DestinationRule, Name: "name", Namespace: "namespace"}.HashCode(): sets.New(secondEntry.Key()), }) } func TestCleanIndexesOnEvict(t *testing.T) { test.SetForTest(t, &features.XDSCacheMaxSize, 1) test.SetForTest(t, &features.XDSCacheIndexClearInterval, 5*time.Millisecond) zeroTime := time.Time{} res := &discovery.Resource{Name: "test"}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jan 29 20:35:31 UTC 2024 - 18.2K bytes - Viewed (0)