- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 35 for expectActions (0.21 sec)
-
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/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) -
cni/pkg/nodeagent/net_test.go
var podUID string = string(pod.ObjectMeta.UID) ipProto := uint8(unix.IPPROTO_TCP) ctx, cancel := context.WithCancel(context.Background()) fixture := getTestFixure(ctx) defer cancel() setupLogging() // expectations fixture.ipsetDeps.On("addIP", "foo-v4", netip.MustParseAddr("3.3.3.3"), ipProto, podUID, false, ).Return(nil) fixture.ipsetDeps.On("addIP", "foo-v4",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 05:10:23 UTC 2024 - 17.8K bytes - Viewed (0) -
platforms/software/resources-gcs/src/integTest/groovy/org/gradle/integtests/resource/gcs/fixtures/GcsServer.groovy
} private void add(HttpStub httpStub, HttpServer.ActionSupport action) { HttpServer.HttpExpectOne expectation = new HttpServer.HttpExpectOne(action, [httpStub.request.method], httpStub.request.path) expectations << expectation addHandler(new AbstractHandler() { @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 16.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/RepositoryInteractionDependencyResolveIntegrationTest.groovy
} def "explicit configuration selection in ivy modules is supported if targeting a ivy module"() { given: // use a different name if selection is supported to not follow the default expectations defined in leaksRuntime() String targetRepoName = "ivy-select" setupRepositories([targetRepoName, 'ivy']) repository('ivy') { "org:ivy:1.0" { withModule(IvyModule) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 15.9K bytes - Viewed (0) -
testing/internal-integ-testing/src/test/groovy/org/gradle/test/fixtures/server/http/BlockingHttpServerTest.groovy
request2.release() } server.stop() then: instant.aDone > instant.aBlocked instant.bDone > instant.bBlocked } def "can chain expectations"() { given: server.expectConcurrent("a", "b") server.expect("c") def handle = server.expectConcurrentAndBlock(2, "d", "e") server.expect("f") server.start()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 46.1K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/HttpServer.groovy
private final static Logger logger = LoggerFactory.getLogger(HttpServer.class) protected Matcher expectedUserAgent = null List<ServerExpectation> expectations = [] boolean chunkedTransfer = false org.gradle.api.Action<HttpServletRequest> beforeHandle org.gradle.api.Action<HttpServletRequest> afterHandle enum SupportedHash {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 32.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/RepositoriesDeclaredInSettingsIntegrationTest.groovy
when: fails ':checkDeps' then: errorOutput.contains("Plugin [id: 'org.gradle.repo-conventions'] was not found in any of the following sources") // real expectations below /* when: repositoryInteractions { 'org:from-buildsrc:1.0' { expectResolve() } 'org:from-main-build:1.0' {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 11:56:27 UTC 2024 - 25.1K bytes - Viewed (0)