- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 48 for expectedStatus (0.48 sec)
-
staging/src/k8s.io/apiserver/pkg/util/peerproxy/peerproxy_handler_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 10.8K bytes - Viewed (0) -
pkg/volume/util/resize_util_test.go
if err != nil { t.Errorf("Expected no error but got %v", err) } realStatus := pvc.Status.AllocatedResourceStatuses expectedStatus := tc.expectedPVC.Status.AllocatedResourceStatuses if !reflect.DeepEqual(realStatus, expectedStatus) { t.Errorf("expected %+v got %+v", expectedStatus, realStatus) } }) } } func TestCreatePVCPatch(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 9.5K bytes - Viewed (0) -
pkg/probe/exec/exec_test.go
fake := FakeCmd{ out: []byte(test.output), err: test.err, } status, output, err := prober.Probe(&fake) if status != test.expectedStatus { t.Errorf("[%d] expected %v, got %v", i, test.expectedStatus, status) } if err != nil && !test.expectError { t.Errorf("[%d] unexpected error: %v", i, err) } if err == nil && test.expectError {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 08:58:18 UTC 2024 - 3.8K bytes - Viewed (0) -
internal/bucket/object/lock/lock_test.go
} func TestParseLegalHoldStatus(t *testing.T) { tests := []struct { value string expectedStatus LegalHoldStatus }{ { value: "ON", expectedStatus: LegalHoldOn, }, { value: "Off", expectedStatus: LegalHoldOff, }, { value: "x", expectedStatus: "", }, } for _, tt := range tests { actualStatus := parseLegalHoldStatus(tt.value)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 17.1K bytes - Viewed (0) -
pkg/controller/deployment/util/deployment_util_test.go
if !reflect.DeepEqual(test.status, test.expectedStatus) { t.Errorf("%s: expected status: %v, got: %v", test.name, test.expectedStatus, test.status) } }) } } func TestRemoveCondition(t *testing.T) { tests := []struct { name string status *apps.DeploymentStatus condType apps.DeploymentConditionType expectedStatus *apps.DeploymentStatus }{ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 08 09:10:50 UTC 2023 - 37.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/healthz/healthz_test.go
if err != nil { t.Fatalf("case[%d] Unexpected error: %v", i, err) } w := httptest.NewRecorder() mux.ServeHTTP(w, req) if w.Code != test.expectedStatus { t.Errorf("case[%d] Expected: %v, got: %v", i, test.expectedStatus, w.Code) } c := w.Header().Get("Content-Type") if c != "text/plain; charset=utf-8" { t.Errorf("case[%d] Expected: %v, got: %v", i, "text/plain", c) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 15 20:43:16 UTC 2023 - 11.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/ComponentMetadataRulesCachingIntegrationTest.groovy
def 'can cache rules setting custom type attributes'() { repository { 'org.test:projectA:1.0'() } def expectedStatus = useIvy() ? 'integration' : 'release' buildFile << """ @CacheableRule class AttributeCachedRule implements ComponentMetadataRule { ObjectFactory objects Attribute targetAttribute
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 12.1K bytes - Viewed (0) -
src/cmd/go/internal/script/engine.go
type expectedStatus string const ( success expectedStatus = "" failure expectedStatus = "!" successOrFailure expectedStatus = "?" ) type argFragment struct { s string quoted bool // if true, disable variable expansion for this fragment } type condition struct { want bool tag string }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 27 01:16:19 UTC 2023 - 22.2K bytes - Viewed (0) -
pkg/controller/replicaset/replica_set_test.go
if !reflect.DeepEqual(test.status, test.expectedStatus) { t.Errorf("%s: expected status: %v, got: %v", test.name, test.expectedStatus, test.status) } } } func TestRemoveCondition(t *testing.T) { tests := []struct { name string status *apps.ReplicaSetStatus condType apps.ReplicaSetConditionType expectedStatus *apps.ReplicaSetStatus }{ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 69.2K bytes - Viewed (0) -
cmd/post-policy_test.go
// Call the ServeHTTP to execute the handler. apiRouter.ServeHTTP(rec, req) if rec.Code != test.expectedStatus { t.Fatalf("Test %d: %s: Expected the response status to be `%d`, but instead found `%d`, Resp: %s", i+1, instanceType, test.expectedStatus, rec.Code, rec.Body) } } // Test cases for signature-V4. testCasesV4 := []struct { objectName string
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 22 23:07:14 UTC 2024 - 30.2K bytes - Viewed (0)