- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for expectActions (0.2 sec)
-
pkg/controller/endpointslice/endpointslice_controller_test.go
t.Errorf("Expected 2 more actions, got %d", len(client.Actions())-numActionsBefore) } // only 2 slices should match, 2 should be deleted, 1 should be updated as a placeholder expectAction(t, client.Actions(), numActionsBefore, "update", "endpointslices") expectAction(t, client.Actions(), numActionsBefore+1, "delete", "endpointslices") // ensure cache mutation has not occurred cmc.Check(t) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 08:33:32 UTC 2024 - 65.5K bytes - Viewed (0) -
pkg/controller/replicaset/replica_set_test.go
if err != nil { t.Errorf("Couldn't get key for object %#v: %v", rsSpec, err) } // Lowering expectations should lead to a sync that creates a replica, however the // fakePodControl error will prevent this, leaving expectations at 0, 0 manager.expectations.CreationObserved(logger, rsKey) rsSpec.Status.Replicas = 1 rsSpec.Status.ReadyReplicas = 1 rsSpec.Status.AvailableReplicas = 1
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 69.2K bytes - Viewed (0) -
pkg/controller/daemon/daemon_controller.go
key, err := controller.KeyFunc(ds) if err != nil { utilruntime.HandleError(fmt.Errorf("couldn't get key for object %#v: %v", ds, err)) return } // Delete expectations for the DaemonSet so if we create a new one with the same name it starts clean dsc.expectations.DeleteExpectations(logger, key) dsc.queue.Add(key) } // Run begins watching and syncing daemon sets.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 51.3K bytes - Viewed (0) -
pkg/controller/job/job_controller.go
} // Check the expectations of the job before counting active pods, otherwise a new pod can sneak in // and update the expectations after we've retrieved active pods from the store. If a new pod enters // the store after we've checked the expectation, the job sync is just deferred till the next relist. satisfiedExpectations := jm.expectations.SatisfiedExpectations(logger, key)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 10 23:56:37 UTC 2024 - 77.6K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/compilation_test.go
schemaGenerator func(maxLength *int64) *schema.Structural setMaxElements int64 // calc costs expectations are checked against the generated schema without any max element limits set expectedCalcCost uint64 expectCalcCostExceedsLimit uint64 // calc costs expectations are checked against the generated schema with max element limits set expectedSetCost uint64
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 20:13:14 UTC 2024 - 51.5K bytes - Viewed (0) -
pkg/controller/cronjob/cronjob_controllerv2_test.go
T1, err := time.Parse(time.RFC3339, "2016-05-26T10:00:00Z") if err != nil { panic("test setup error") } return T1 } func TestControllerV2SyncCronJob(t *testing.T) { // Check expectations on deadline parameters if shortDead/60/60 >= 1 { t.Errorf("shortDead should be less than one hour") } if mediumDead/60/60 < 1 || mediumDead/60/60 >= 24 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 70.8K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/services/BuildServiceIntegrationTest.groovy
} """ expect: fails("broken") // The failure is currently very specific to the annotation type // TODO - fail earlier and add some expectations here fails("broken") where: annotationType << [ Input, InputFile, InputDirectory, InputFiles,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 06 19:15:46 UTC 2024 - 61K bytes - Viewed (0) -
src/cmd/cgo/out.go
out of the compiler and hopefully mention "name". */ #define __cgo_compile_assert_eq(x, y, name) typedef char name[(x-y)*(x-y)*-2UL+1UL]; /* Check at compile time that the sizes we use match our expectations. */ #define __cgo_size_assert(t, n) __cgo_compile_assert_eq(sizeof(t), (size_t)n, _cgo_sizeof_##t##_is_not_##n) __cgo_size_assert(char, 1) __cgo_size_assert(short, 2) __cgo_size_assert(int, 4)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 29 16:41:10 UTC 2024 - 59.6K bytes - Viewed (0) -
src/cmd/link/internal/ppc64/asm.go
// // 2. R2 holds the TOC pointer on entry. The caller has already saved R2 to the TOC stack save slot. // // 3. R2 does not hold the TOC pointer on entry. The caller has no expectations of R2. // // Go only needs case 1 and 3 today. Go symbols which have AttrShare set could use case 2, but case 1 always // works in those cases too.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 19 20:54:08 UTC 2024 - 63.7K bytes - Viewed (0) -
tests/integration/ambient/baseline_test.go
framework.NewTest(t). Run(func(t framework.TestContext) { t.Skip("https://github.com/istio/istio/issues/42696") systemNM := istio.ClaimSystemNamespaceOrFail(t, t) // mtlsOnExpect defines our expectations for when mTLS is expected when its enabled mtlsOnExpect := func(from echo.Instance, opts echo.CallOptions) bool { if from.Config().IsNaked() || opts.To.Config().IsNaked() {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 00:07:28 UTC 2024 - 78.4K bytes - Viewed (0)