- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 81 for expectActions (0.2 sec)
-
pkg/volume/util/subpath/subpath_linux_test.go
} logActions := fm.GetLog() if len(test.expectAction) == 0 && len(logActions) > 0 { t.Errorf("test %q failed: expected no actions, got %v", test.name, logActions) } if len(test.expectAction) > 0 { foundMatchingAction := false testAction := test.expectAction[0] for _, action := range logActions { if action.Action == testAction.Action {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 10 16:52:55 UTC 2021 - 37.3K bytes - Viewed (0) -
pkg/controller/daemon/daemon_controller_test.go
informerFactory.Core().V1().Pods().Informer().GetStore(), informerFactory.Core().V1().Nodes().Informer().GetStore(), fakeRecorder, } podControl.expectations = newDsc.expectations return newDsc, podControl, clientset, nil } func resetCounters(manager *daemonSetsController) { manager.podControl.(*fakePodControl).Clear() fakeRecorder := record.NewFakeRecorder(100)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 111.4K bytes - Viewed (0) -
pkg/volume/util/operationexecutor/node_expander_test.go
pv *v1.PersistentVolume // desired size, defaults to pv.Spec.Capacity desiredSize *resource.Quantity // actualSize, defaults to pvc.Status.Capacity actualSize *resource.Quantity // expectations of test expectedResizeStatus v1.ClaimResourceStatus expectedStatusSize resource.Quantity expectResizeCall bool assumeResizeOpAsFinished bool expectError bool }{ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 5.7K bytes - Viewed (0) -
pkg/registry/core/service/ipallocator/controller/repairip_test.go
for _, ip := range test.expectedIPs { _, err := r.ipAddressLister.Get(ip) if err != nil { t.Errorf("Unexpected error trying to get IPAddress %s object: %v", ip, err) } } expectAction(t, c.Actions(), test.actions) expectEvents(t, recorder.Events, test.events) }) } } func TestRepairIPAddress_syncIPAddress(t *testing.T) { tests := []struct { name string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 21:05:06 UTC 2023 - 20.3K bytes - Viewed (0) -
pkg/controller/job/job_controller_test.go
expectedReady: ptr.To[int32](0), }, "suspending a job with satisfied expectations": { // Suspended Job should delete active pods when expectations are // satisfied. suspend: true, parallelism: 2, activePods: 2, // parallelism == active, expectations satisfied completions: 4, backoffLimit: 6, expectedCreations: 0,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 15:36:36 UTC 2024 - 229.2K bytes - Viewed (0) -
docs/contribute/code_of_conduct.md
thousands of people who have already contributed to our projects — and we want to ensure our community continues to be truly open for everyone. This code of conduct outlines our expectations for participants, as well as steps to reporting unacceptable behavior. We are committed to providing a welcoming and inspiring community for all and expect our code of conduct to be honored.
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 5.1K bytes - Viewed (0) -
pkg/volume/util/operationexecutor/operation_generator_test.go
var tests = []struct { name string pvc *v1.PersistentVolumeClaim pv *v1.PersistentVolume recoverFeatureGate bool disableNodeExpansion bool // expectations of test expectedResizeStatus v1.ClaimResourceStatus expectedAllocatedSize resource.Quantity expectResizeCall bool }{ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 16.2K bytes - Viewed (0) -
pkg/controller/servicecidrs/servicecidrs_controller_test.go
// so we skup the errors and only assert on the actions // https://github.com/kubernetes/kubernetes/issues/99953 _ = controller.sync(tCtx, tc.cidrSynced) expectAction(t, client.Actions(), tc.actions) }) } } func makeServiceCIDR(name, primary, secondary string) *networkingapiv1alpha1.ServiceCIDR { serviceCIDR := &networkingapiv1alpha1.ServiceCIDR{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 06:51:56 UTC 2024 - 22K bytes - Viewed (0) -
src/cmd/vet/vet_test.go
// argument to errorCheck as it does double duty as both a // string that appears in the output, and as file name // openable relative to the test directory, containing text // expectations. // // So, we munge the file. stderr = strings.ReplaceAll(stderr, filepath.FromSlash("./rangeloop.go"), filename) if err := errorCheck(stderr, false, filename, filepath.Base(filename)); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 01:02:40 UTC 2024 - 12.5K bytes - Viewed (0) -
pilot/pkg/networking/core/listenertest/match.go
type ListenersTest struct { // Match listener by name Name string // Match listener by port Port uint32 // Listener assertions Listener ListenerTest } // ListenerTest provides a struct for defining expectations for a listener type ListenerTest struct { // Assert the listener contains these filter chains (in order, if TotalMatch) FilterChains []FilterChainTest
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 6.4K bytes - Viewed (0)