- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for expectActions (0.23 sec)
-
pkg/controller/certificates/rootcacertpublisher/publisher_test.go
AddedNamespace *v1.Namespace UpdatedNamespace *v1.Namespace DeletedConfigMap *v1.ConfigMap UpdatedConfigMap *v1.ConfigMap ExpectActions []action }{ "create new namespace": { AddedNamespace: newNs, ExpectActions: []action{{verb: "create", name: RootCACertConfigMapName}}, }, "delete other configmap": { ExistingConfigMaps: []*v1.ConfigMap{otherConfigMap, caConfigMap},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:46:16 UTC 2023 - 7.9K bytes - Viewed (0) -
pkg/controller/job/tracking_utils_test.go
firstRound: []string{"w"}, secondRound: []string{"a"}, }, } expectations := newUIDTrackingExpectations() // Insert first round of keys in parallel. var wg sync.WaitGroup wg.Add(len(tracks)) errs := make([]error, len(tracks)) for i := range tracks { track := tracks[i] go func(errID int) { errs[errID] = expectations.expectFinalizersRemoved(logger, track.job, track.firstRound) wg.Done() }(i)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 14 05:40:02 UTC 2023 - 5.9K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/ExpectAllRequestsThenReleaseAll.java
ExpectAllRequestsThenReleaseAll(Lock lock, int testId, Duration timeout, WaitPrecondition previous, Collection<? extends ResourceExpectation> expectations, Executor executor) { super(lock, testId, timeout, expectations.size(), previous, expectations, executor); } @Override void doReleaseAction(BlockingHttpServer.BlockingHandler handler, int yetToBeReceived) { handler.releaseAll(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.3K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/ServerWithExpectations.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.9K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/ToBeFixedSpecInterceptor.groovy
} // Trigger validation failures early so they can still fail the test the usual way try { allResettableExpectationsOf(invocation.instance).forEach { expectations -> expectations.resetExpectations() } } catch (Throwable ex) { expectedFailure(ex, feature) ignoreCleanupAssertionsOf(invocation) return true }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 13:10:05 UTC 2024 - 6.4K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/ResettableExpectations.java
package org.gradle.test.fixtures; /** * Allows {@link org.gradle.integtests.fixtures.ToBeFixedForConfigurationCacheExtension} to verify * test expectations before cleanup so they can be silenced if necessary. */ public interface ResettableExpectations { /** * Resets all pending expectations after verifying them. * Must throw when a verification fails. */ void resetExpectations();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1K bytes - Viewed (0) -
releasenotes/notes/49539.yaml
apiVersion: release-notes/v2 kind: bug-fix area: traffic-management issue: - 49539 releaseNotes: - |
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 29 07:24:47 UTC 2024 - 270 bytes - Viewed (0) -
tests/integration/security/normalization_test.go
} framework.NewTest(t). Run(func(t framework.TestContext) { cases := []struct { name string ntype meshconfig.MeshConfig_ProxyPathNormalization_NormalizationType expectations []expect }{ { "None", meshconfig.MeshConfig_ProxyPathNormalization_NONE, []expect{ {"/", "/"}, {"/app#foo", "/app"}, {"/app/", "/app/"},
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 7.7K bytes - Viewed (0) -
pkg/controlplane/controller/defaultservicecidr/default_servicecidr_controller_test.go
}, } for _, tc := range testCases { t.Run(tc.name, func(t *testing.T) { client, controller := newController(t, tc.cidrs) controller.sync() expectAction(t, client.Actions(), tc.actions) }) } } func expectAction(t *testing.T, actions []k8stesting.Action, expected [][]string) { t.Helper() if len(actions) != len(expected) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 14 23:31:58 UTC 2023 - 4.8K bytes - Viewed (0) -
pkg/controlplane/controller/systemnamespaces/system_namespaces_controller_test.go
create := action.(k8stesting.CreateAction) namespaceInformer.Informer().GetIndexer().Add(create.GetObject()) return true, create.GetObject(), nil }) controller.sync() expectAction(t, clientset.Actions(), test.actions) namespaces, err := controller.namespaceLister.List(labels.Everything()) if err != nil { t.Errorf("unexpected error: %v", err) } got := map[string]bool{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 12:19:56 UTC 2024 - 4.3K bytes - Viewed (0)