Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 344 for SUCCEED (0.11 sec)

  1. internal/ioutil/ioutil_test.go

    	n, err := w.Write([]byte("abcd"))
    	w.Close()
    	if err != nil {
    		t.Errorf("DeadlineWriter should succeed but failed with %s", err)
    	}
    	if n != 4 {
    		t.Errorf("DeadlineWriter should succeed but should have only written 4 bytes, but returned %d instead", n)
    	}
    }
    
    func TestCloseOnWriter(t *testing.T) {
    	writer := WriteOnClose(io.Discard)
    	if writer.HasWritten() {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/genericapiserver_graceful_termination_test.go

    		if err := assertResponseStatusCode(resultGot, http.StatusOK); err != nil {
    			t.Errorf("%s", err.Error())
    		}
    		resultGot = doer.Do(newClient(true), shouldUseNewConnection(t), "/echo?message=request-on-a-new-tcp-connection-should-succeed", time.Second)
    		if err := assertResponseStatusCode(resultGot, http.StatusOK); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 38.3K bytes
    - Viewed (0)
  3. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerBuildFailureIntegrationTest.groovy

            normaliseLineSeparators(t.message).startsWith(normaliseLineSeparators(expectedMessage))
            t.buildResult.taskPaths(SUCCESS) == [':helloWorld']
        }
    
        def "throws when build is expected to succeed but fails"() {
            given:
            buildScript """
                task helloWorld {
                    doLast {
                        throw new GradleException('Unexpected exception')
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  4. platforms/extensibility/test-kit/src/main/java/org/gradle/testkit/runner/UnexpectedBuildFailure.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.testkit.runner;
    
    /**
     * Thrown when executing a build that was expected to succeed, but failed.
     *
     * @since 2.6
     * @see GradleRunner#build()
     */
    public class UnexpectedBuildFailure extends UnexpectedBuildResultException {
        public UnexpectedBuildFailure(String message, BuildResult buildResult) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 981 bytes
    - Viewed (0)
  5. tests/integration/pilot/revisioned_upgrade_test.go

    func TestRevisionedUpgrade(t *testing.T) {
    	// nolint: staticcheck
    	framework.NewTest(t).
    		RequiresSingleCluster().
    		RequiresLocalControlPlane().
    		// Requires installation of CPs from manifests, won't succeed
    		// if existing CPs have different root cert
    		Label(label.CustomSetup).
    		Run(func(t framework.TestContext) {
    			t.Skip("https://github.com/istio/istio/pull/46213")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_get_issue47650.txt

    go get -x vcs-test.golang.org/git/issue47650.git/cmd/issue47650@21535ef346c3
    stderr '^go: added vcs-test.golang.org/git/issue47650.git v0.1.1-0.20210811175200-21535ef346c3$'
    
    # Explicitly requesting that same version should succeed, fetching additional
    # history for the requested commit as needed in order to validate the
    # pseudo-version base.
    go clean -modcache
    cp go.mod.orig go.mod
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 11 22:29:11 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/get_insecure.txt

    cd $WORK/m
    env GO111MODULE=on
    env GOPROXY=''
    
    # Modules: Try go get -d of HTTP-only repo (should fail).
    ! go get -d insecure.go-get-issue-15410.appspot.com/pkg/p
    
    # Modules: Try again with GOINSECURE (should succeed).
    env GOINSECURE=insecure.go-get-issue-15410.appspot.com
    env GONOSUMDB=insecure.go-get-issue-15410.appspot.com
    go get -d insecure.go-get-issue-15410.appspot.com/pkg/p
    
    # Modules: Try updating without GOINSECURE (should fail).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 14:41:02 UTC 2023
    - 937 bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/build_git_missing_tree.txt

    exec git log --pretty=%T
    cmp stdout $WORK/.git-trees
    
    rm .git/objects/66/400c89b45cc96da36d232844dbf9ea5daa6bcf
    
    # Build the module, which should succeed
    go build -v -buildvcs=true -o test
    go version -m test
    stdout '^\tbuild\tvcs.revision=fe3c8204d2332a731166269932dd23760c1b576a$'
    
    -- $WORK/repo/go.mod --
    module github.com/golang/issue65339
    
    go 1.20
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:18 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. src/os/wait_waitid.go

    //go:build linux
    
    package os
    
    import (
    	"runtime"
    	"syscall"
    	"unsafe"
    )
    
    const _P_PID = 1
    
    // blockUntilWaitable attempts to block until a call to p.Wait will
    // succeed immediately, and reports whether it has done so.
    // It does not actually call p.Wait.
    func (p *Process) blockUntilWaitable() (bool, error) {
    	// The waitid system call expects a pointer to a siginfo_t,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 00:27:57 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/internal/typeparams/common.go

    		return types.AssignableTo(V, T)
    	}
    
    	// V and T have the same (non-zero) number of type params. Instantiate both
    	// with the type parameters of V. This must always succeed for V, and will
    	// succeed for T if and only if the type set of each type parameter of V is a
    	// subset of the type set of the corresponding type parameter of T, meaning
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top