Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for expecting (4.16 sec)

  1. cmd/server_test.go

    	// modified time of the object expecting the response status to be http.StatusNotModified.
    	c.Assert(response.StatusCode, http.StatusNotModified)
    
    	// Again, obtain the object info.
    	// This time setting "If-Unmodified-Since" to a time after the object is modified.
    	// As documented above, expecting http.StatusPreconditionFailed.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 115.3K bytes
    - Viewed (0)
  2. src/reflect/all_test.go

    		}
    
    		n = Copy(val, ValueOf("hello"))
    		if expecting := []byte("hello___"); n != 5 || !bytes.Equal(s[:], expecting) {
    			t.Errorf("got n = %d, s = %s, expecting n = 5, s = %s", n, s[:], expecting)
    		}
    
    		n = Copy(val, ValueOf("helloworld"))
    		if expecting := []byte("hellowor"); n != 8 || !bytes.Equal(s[:], expecting) {
    			t.Errorf("got n = %d, s = %s, expecting n = 8, s = %s", n, s[:], expecting)
    		}
    	})
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  3. src/database/sql/sql_test.go

    			}
    		}()
    
    		db.mu.Lock()
    		defer db.mu.Unlock()
    		if db.numOpen != nconn {
    			t.Fatalf("unexpected numOpen %d (was expecting %d)", db.numOpen, nconn)
    		} else if len(db.freeConn) != nconn {
    			t.Fatalf("unexpected len(db.freeConn) %d (was expecting %d)", len(db.freeConn), nconn)
    		}
    		for _, conn := range db.freeConn {
    			conn.Lock()
    			conn.ci.(*fakeConn).stickyBad = true
    			conn.Unlock()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/gateway_test.go

    				t.Errorf("got diff in tls context: %v", diff)
    			}
    			if !reflect.DeepEqual(tc.result.httpOpts, ret.httpOpts) {
    				t.Errorf("expecting httpopts:\n %+v \nbut got:\n %+v", tc.result.httpOpts, ret.httpOpts)
    			}
    			if !reflect.DeepEqual(tc.result.sniHosts, ret.sniHosts) {
    				t.Errorf("expecting snihosts %+v but got %+v", tc.result.sniHosts, ret.sniHosts)
    			}
    		})
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 144K bytes
    - Viewed (0)
  5. cmd/object-handlers_test.go

    			expectedRespStatus: http.StatusBadRequest,
    		},
    
    		// Test case - 8.
    		// Test case with non-existent source file.
    		// Case for the purpose of failing `api.ObjectAPI.GetObjectInfo`.
    		// Expecting the response status code to http.StatusNotFound (404).
    		{
    			bucketName:       bucketName,
    			uploadID:         uploadID,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 161.9K bytes
    - Viewed (0)
  6. pkg/printers/internalversion/printers_test.go

    		t.Errorf("Wrong event ordering: expecting (Item 1), got (%s)", message1)
    	}
    	secondRow := rows[1]
    	message2 := secondRow.Cells[4]
    	if message2 != "Item 2" {
    		t.Errorf("Wrong event ordering: expecting (Item 2), got (%s)", message2)
    	}
    	thirdRow := rows[2]
    	message3 := thirdRow.Cells[4]
    	if message3 != "Item 3" {
    		t.Errorf("Wrong event ordering: expecting (Item 3), got (%s)", message3)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  7. pkg/controller/job/job_controller_test.go

    			suspend:                   true,
    			parallelism:               2,
    			activePods:                3,  // active > parallelism, expectations unsatisfied
    			fakeExpectationAtCreation: -1, // the controller is expecting a deletion
    			completions:               4,
    			backoffLimit:              6,
    			expectedCreations:         0,
    			expectedDeletions:         0,
    			expectedActive:            3,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    				"self.doubleunderscore__underscores__doubleunderscore == 405",
    			},
    			errors: map[string]string{
    				// 'true' is a boolean literal, not a field name
    				"self.true == 1": "mismatched input 'true' expecting IDENTIFIER",
    				// 'self' is the locally scoped expression value
    				"self == 201": "found no matching overload for '_==_'",
    				// attempts to use identifiers that are not escapable are caught by the compiler since
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/cluster_test.go

    			selectTrafficPolicyComponents(testCase.policy)
    			if testCase.policy.Tls.CaCertificates != testCase.expectedCARootPath {
    				t.Errorf("%v got %v when expecting %v", testCase.name, testCase.policy.Tls.CaCertificates, testCase.expectedCARootPath)
    			}
    		})
    	}
    }
    
    func TestBuildDeltaClusters(t *testing.T) {
    	testService1 := &model.Service{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/CacheTest.kt

            .addHeader("Cache-Control: no-store")
            .build(),
        )
      }
    
      @Test
      fun partialRangeResponsesDoNotCorruptCache() {
        // 1. Request a range.
        // 2. Request a full document, expecting a cache miss.
        server.enqueue(
          MockResponse.Builder()
            .body("AA")
            .code(HttpURLConnection.HTTP_PARTIAL)
            .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS))
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
Back to top