- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 1,295 for nDests (0.1 sec)
-
pkg/kube/version_test.go
want: true, }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { cl := NewFakeClientWithVersion(fmt.Sprint(tt.clusterVersion)) if got := IsAtLeastVersion(cl, tt.minorVersion); got != tt.want { t.Errorf("IsAtLeastVersion() = %v, want %v", got, tt.want) } }) } } func TestIsLessThanVersionVersion(t *testing.T) { tests := []struct { name string clusterVersion uint
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 17 23:16:29 UTC 2024 - 3.1K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/optimizing-performance/build-cache/caching_java_projects.adoc
== Integration test execution Unit tests are easy to cache as they normally have no external dependencies. For integration tests the situation can be quite different, as they can depend on a variety of inputs outside of the test and production code. These external factors can be for example: * operating system type and version, * external tools being installed for the tests, * environment variables and Java system properties,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 8.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/shufflesharding/shufflesharding_test.go
"testing" ) func TestRequiredEntropyBits(t *testing.T) { tests := []struct { name string deckSize int handSize int expectedBits int }{ { "deckSize: 1024 handSize: 6", 1024, 6, 60, }, { "deckSize: 512 handSize: 8", 512, 8, 72, }, } for _, test := range tests { bits := RequiredEntropyBits(test.deckSize, test.handSize)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jan 25 06:44:08 UTC 2021 - 6.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/replicate_to_island_legacy.mlir
// RUN: tf-opt -split-input-file -verify-diagnostics %s -tf-replicate-to-island=legacy-graph-export=true | FileCheck %s // Tests per replica island has same control operands as island holding // replicate. // CHECK-LABEL: func @controls_per_replica func.func @controls_per_replica() { tf_executor.graph { %1 = tf_executor.ControlTrigger {} %2 = tf_executor.ControlTrigger {} %3 = tf_executor.island(%1, %2) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 31 08:59:10 UTC 2023 - 9.3K bytes - Viewed (0) -
cmd/kubeadm/app/constants/constants_test.go
}, } for _, tc := range tests { t.Run(tc.name, func(t *testing.T) { result := getSkewedKubernetesVersionImpl(tc.versionInfo, tc.n) if cmp, _ := result.Compare(tc.expectedResult.String()); cmp != 0 { t.Errorf("expected result: %v, got %v", tc.expectedResult, result) } }) } } func TestGetAPIServerVirtualIP(t *testing.T) { var tests = []struct { name, svcSubnet, expectedIP string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 03:26:36 UTC 2024 - 10.7K bytes - Viewed (0) -
pilot/pkg/networking/grpcgen/testdata/xds_bootstrap.json
"certificate_providers": { "default": { "plugin_name": "file_watcher", "config": { "certificate_file": "../../../../tests/testdata/certs/default/cert-chain.pem", "private_key_file": "../../../../tests/testdata/certs/default/key.pem", "ca_certificate_file": "../../../../tests/testdata/certs/default/root-cert.pem", "refresh_interval": "900s" } } },
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Mar 08 18:48:42 UTC 2022 - 961 bytes - Viewed (0) -
pkg/controller/replication/replication_controller_utils_test.go
expected: false, }, } for _, test := range tests { cond := GetCondition(test.status, test.condType) exists := cond != nil if exists != test.expected { t.Errorf("%s: expected condition to exist: %t, got: %t", test.name, test.expected, exists) } } } func TestSetCondition(t *testing.T) { tests := []struct { name string status *v1.ReplicationControllerStatus
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 07 22:48:32 UTC 2017 - 4.6K bytes - Viewed (0) -
src/testing/testing.go
rng := rand.New(rand.NewSource(n)) rng.Shuffle(len(m.tests), func(i, j int) { m.tests[i], m.tests[j] = m.tests[j], m.tests[i] }) rng.Shuffle(len(m.benchmarks), func(i, j int) { m.benchmarks[i], m.benchmarks[j] = m.benchmarks[j], m.benchmarks[i] }) } parseCpuList() m.before() defer m.after() // Run tests, examples, and benchmarks unless this is a fuzz worker process.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 76.1K bytes - Viewed (0) -
pkg/scheduler/util/utils_test.go
p2: pod1, expected: true, }, } for k, v := range tests { t.Run(k, func(t *testing.T) { got := MoreImportantPod(v.p1, v.p2) if got != v.expected { t.Errorf("expected %t but got %t", v.expected, got) } }) } } func TestRemoveNominatedNodeName(t *testing.T) { tests := []struct { name string currentNominatedNodeName string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Sep 21 01:40:44 UTC 2023 - 14.5K bytes - Viewed (0) -
src/os/tempfile_test.go
} } func TestCreateTempPattern(t *testing.T) { t.Parallel() tests := []struct{ pattern, prefix, suffix string }{ {"tempfile_test", "tempfile_test", ""}, {"tempfile_test*", "tempfile_test", ""}, {"tempfile_test*xyz", "tempfile_test", "xyz"}, } for _, test := range tests { f, err := CreateTemp("", test.pattern) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 19 20:45:37 UTC 2023 - 5.5K bytes - Viewed (0)