- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for wantOutput (0.11 sec)
-
pkg/scheduler/framework/parallelize/parallelism_test.go
"testing" ) func TestChunkSize(t *testing.T) { tests := []struct { input int wantOutput int }{ { input: 32, wantOutput: 3, }, { input: 16, wantOutput: 2, }, { input: 1, wantOutput: 1, }, { input: 0, wantOutput: 1, }, } for _, test := range tests {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 20 17:39:23 UTC 2021 - 1.2K bytes - Viewed (0) -
pkg/wasm/convert_test.go
cases := []struct { name string input []*core.TypedExtensionConfig wantOutput []*core.TypedExtensionConfig wantErr bool }{ { name: "nil typed config ", input: []*core.TypedExtensionConfig{ extensionConfigMap["nil-typed-config"], }, wantOutput: []*core.TypedExtensionConfig{ extensionConfigMap["nil-typed-config"], }, wantErr: true, },
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 20:06:41 UTC 2024 - 13.6K bytes - Viewed (0) -
test/stress/runstress.go
log.Fatalf("stressExec: exec failure: %v: %s", err, out) } wantOutput += "\n" if string(out) != wantOutput { log.Fatalf("stressExec: exec output = %q; want %q", out, wantOutput) } Println("did exec") } func stressExec() { gate := make(chan bool, 10) // max execs at once for { gate <- true go func() { doAnExec() <-gate }() } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:21:35 UTC 2024 - 3.6K bytes - Viewed (0) -
src/cmd/internal/test2json/test2json_test.go
haveOutput += haveEvents[i]["Output"].(string) i++ } if haveOutput != wantOutput { t.Errorf("output mismatch for Test=%q:\nhave %q\nwant %q", outputTest, haveOutput, wantOutput) fail() } haveOutput = "" wantOutput = "" } // Walk through wantEvents matching against haveEvents. for j = range wantEvents { e := wantEvents[j]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 26 19:50:36 UTC 2022 - 7.2K bytes - Viewed (0) -
istioctl/pkg/multicluster/remote_secret_test.go
secretName = configSecretName key = configSecretKey default: secretName = remoteSecretPrefix + string(kubeSystemNamespaceUID) key = "54643f96-eca0-11e9-bb97-42010a80000a" } wantOutput := fmt.Sprintf(`# This file is autogenerated, do not edit. apiVersion: v1 kind: Secret metadata: annotations: %s: 54643f96-eca0-11e9-bb97-42010a80000a creationTimestamp: null labels:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 20.6K bytes - Viewed (0)