Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for expectActions (0.32 sec)

  1. 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)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/ServerWithExpectations.groovy

            try {
                if (failure != null) {
                    throw failure
                }
                for (ServerExpectation e in expectations) {
                    e.assertMet()
                }
            } finally {
                failure = null
                expectations.clear()
            }
        }
    
        @Override
        protected void after() {
            stop()
            resetExpectations()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. pkg/controller/job/metrics/metrics.go

    	// JobSyncActionReconciling when the Job's pod creation/deletion expectations
    	// are unsatisfied and the controller is waiting for issued Pod
    	// creation/deletions to complete.
    	JobSyncActionReconciling = "reconciling"
    	// JobSyncActionTracking when the Job's pod creation/deletion expectations
    	// are satisfied and the number of active Pods matches expectations (i.e. no
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 17:25:15 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/MaybeNConcurrentRequests.java

    package org.gradle.test.fixtures.server.http;
    
    import java.time.Duration;
    import java.util.Collection;
    import java.util.concurrent.locks.Lock;
    
    /**
     * A cyclic barrier for {@link BlockingHttpServer} where expectations are optional.
     */
    class MaybeNConcurrentRequests extends ExpectMaxNConcurrentRequests {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. doc/next/6-stdlib/3-structs.md

    In this release, the only such type is
    [`HostLayout`](/pkg/structs#HostLayout)
    which indicates that a structure with a field of that
    type has a layout that conforms to host platform
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 16:06:02 UTC 2024
    - 356 bytes
    - Viewed (0)
Back to top