Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 192 for raerror (0.11 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskParametersIntegrationTest.groovy

        v = $initialValue
        d = file("build/out")
    }
    """
            def isError = expectedValidationProblem != null
    
            when:
            if (isError) {
                fails 'someTask'
            } else {
                succeeds "someTask"
            }
    
            then:
            if (isError) {
                failure.error.contains(expectedValidationProblem)
            }
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/dom/DocumentResolution.kt

        }
    
        data object ErrorResolution : DocumentNodeResolution, UnsuccessfulResolution {
            override val reasons: Iterable<ResolutionFailureReason>
                get() = listOf(IsError)
        }
    
        sealed interface ValueNodeResolution : DocumentResolution {
            data class LiteralValueResolved(val value: Any) : ValueNodeResolution, SuccessfulResolution
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:09 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/runtime/framework.go

    	return status
    }
    
    // RunPreBindPlugins runs the set of configured prebind plugins. It returns a
    // failure (bool) if any of the plugins returns an error. It also returns an
    // error containing the rejection message or the error occurred in the plugin.
    func (f *frameworkImpl) RunPreBindPlugins(ctx context.Context, state *framework.CycleState, pod *v1.Pod, nodeName string) (status *framework.Status) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 60.9K bytes
    - Viewed (0)
  4. pkg/kubelet/pluginmanager/reconciler/reconciler_test.go

    	pluginName := fmt.Sprintf("example-plugin")
    	p := pluginwatcher.NewTestExamplePlugin(pluginName, registerapi.DevicePlugin, socketPath, supportedVersions...)
    	require.NoError(t, p.Serve("v1beta1", "v1beta2"))
    	defer func() {
    		require.NoError(t, p.Stop())
    	}()
    	timestampBeforeRegistration := time.Now()
    	dsw.AddOrUpdatePlugin(socketPath)
    	waitForRegistration(t, socketPath, timestampBeforeRegistration, asw)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 16 14:21:15 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbSession.java

                SmbTree t = (SmbTree)e.nextElement();
                t.treeDisconnect( inError );
            }
    
            if( !inError && transport.server.security != ServerMessageBlock.SECURITY_SHARE ) {
                /*
                 * Logoff And X Request / Response
                 */
    
                SmbComLogoffAndX request = new SmbComLogoffAndX( null );
                request.uid = uid;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 18.6K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/plugins/defaultbinder/default_binder_test.go

    	tests := []struct {
    		name        string
    		injectErr   error
    		wantBinding *v1.Binding
    	}{
    		{
    			name: "successful",
    			wantBinding: &v1.Binding{
    				ObjectMeta: metav1.ObjectMeta{Namespace: "ns", Name: "foo"},
    				Target:     v1.ObjectReference{Kind: "Node", Name: testNode},
    			},
    		}, {
    			name:      "binding error",
    			injectErr: errors.New("binding error"),
    		},
    	}
    	for _, tt := range tests {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 23 02:17:34 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  7. platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/PropertyResourceBundleFallbackCharset.java

            protected CoderResult decodeLoop(ByteBuffer in, CharBuffer out) {
                mark(in);
                mark(out);
    
                CoderResult coderResult = decoder.decode(in, out, false);
    
                if (coderResult.isError() && utf8) {
                    reset(in);
                    reset(out);
                    // Fallback to the ISO_8859_1 decoder
                    decoder = StandardCharsets.ISO_8859_1.newDecoder();
                    utf8 = false;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. pkg/kubelet/kuberuntime/kuberuntime_container_test.go

    		assert.NoError(t, err, "create tempdir error")
    		defer os.RemoveAll(tempDirPath)
    		for _, filename := range tc.filenames {
    			err = os.WriteFile(filepath.Join(tempDirPath, filename), []byte("a log line"), 0600)
    			assert.NoError(t, err, "could not write log file")
    		}
    		count, err := calcRestartCountByLogDir(tempDirPath)
    		if assert.NoError(t, err) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 28K bytes
    - Viewed (0)
  9. tools/istio-iptables/pkg/config/validation_test.go

    		},
    	}
    	for _, tc := range cases {
    		t.Run(tc.name, func(t *testing.T) {
    			err := ValidateOwnerGroups(tc.include, tc.exclude)
    			assert.NoError(t, err)
    		})
    	}
    }
    
    func TestValidateOwnerGroups_Invalid(t *testing.T) {
    	cases := []struct {
    		name    string
    		include string
    		exclude string
    	}{
    		{
    			name:    "capture 65 groups",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 11 02:38:28 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. src/text/template/multi_test.go

    	if err != nil {
    		t.Fatalf("error parsing files: %v", err)
    	}
    	testExecute(multiExecTests, template, t)
    }
    
    func TestParseGlob(t *testing.T) {
    	_, err := ParseGlob("DOES NOT EXIST")
    	if err == nil {
    		t.Error("expected error for non-existent file; got none")
    	}
    	_, err = New("error").ParseGlob("[x")
    	if err == nil {
    		t.Error("expected error for bad pattern; got none")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 08 10:48:29 UTC 2022
    - 11.7K bytes
    - Viewed (0)
Back to top