Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for expectedly (0.43 sec)

  1. pkg/scheduler/internal/queue/scheduling_queue_test.go

    			for i, op := range test.operations {
    				op(t, logger, queue, test.operands[i])
    			}
    
    			expectedLen := len(test.expected)
    			if queue.activeQ.Len() != expectedLen {
    				t.Fatalf("Expected %v items to be in activeQ, but got: %v", expectedLen, queue.activeQ.Len())
    			}
    
    			for i := 0; i < expectedLen; i++ {
    				if pInfo, err := queue.activeQ.Pop(); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  2. src/crypto/x509/x509_test.go

    		if !extension.Id.Equal(expected[i].Id) {
    			t.Fatalf("extension #%d has unexpected type %v (expected %v)", i, extension.Id, expected[i].Id)
    		}
    
    		if !bytes.Equal(extension.Value, expected[i].Value) {
    			t.Fatalf("extension #%d has unexpected contents %x (expected %x)", i, extension.Value, expected[i].Value)
    		}
    	}
    }
    
    // serialiseAndParse generates a self-signed certificate from template and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 163.4K bytes
    - Viewed (0)
  3. pkg/controller/job/job_controller_test.go

    	}
    	// Verify that after syncing a complete job, the conditions are the same.
    	if got, expected := len(actual.Status.Conditions), 1; got != expected {
    		t.Fatalf("Unexpected job status conditions amount; expected %d, got %d", expected, got)
    	}
    }
    
    func TestSyncJobDeleted(t *testing.T) {
    	_, ctx := ktesting.NewTestContext(t)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  4. src/net/http/transport_test.go

    			defer wg.Done()
    			doReq()
    		}()
    	}
    	wg.Wait()
    
    	expected := int32(tr.MaxConnsPerHost)
    	if dialCnt != expected {
    		t.Errorf("round 1: too many dials: %d != %d", dialCnt, expected)
    	}
    	if gotConnCnt != expected {
    		t.Errorf("round 1: too many get connections: %d != %d", gotConnCnt, expected)
    	}
    	if ts.TLS != nil && tlsHandshakeCnt != expected {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
Back to top