- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for CheckMapInvariant (0.3 sec)
-
pilot/test/mock/config.go
a.ResourceVersion = "" b.ResourceVersion = "" a.CreationTimestamp = time.Time{} b.CreationTimestamp = time.Time{} return reflect.DeepEqual(a, b) } // CheckMapInvariant validates operational invariants of an empty config registry func CheckMapInvariant(r model.ConfigStore, t *testing.T, namespace string, n int) { // check that the config descriptor is the mock config descriptor
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 13.2K bytes - Viewed (0) -
pilot/pkg/config/memory/store_test.go
"istio.io/istio/pilot/test/mock" "istio.io/istio/pkg/config" "istio.io/istio/pkg/config/schema/collections" ) func TestStoreInvariant(t *testing.T) { store := Make(collections.Mocks) mock.CheckMapInvariant(store, t, "some-namespace", 10) } func TestIstioConfig(t *testing.T) { store := Make(collections.Pilot) mock.CheckIstioConfigTypes(store, "some-namespace", t) } func BenchmarkStoreGet(b *testing.B) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Dec 26 01:14:27 UTC 2023 - 3.4K bytes - Viewed (0)