Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for testFork (0.18 sec)

  1. plugin/pkg/admission/resourcequota/admission_test.go

    		if expectedValue != actualValue {
    			t.Errorf("Usage Used: Key: %v, Expected: %v, Actual: %v", k, expectedValue, actualValue)
    		}
    	}
    }
    
    func removeListWatch(in []testcore.Action) []testcore.Action {
    	decimatedActions := []testcore.Action{}
    	// list and watch resource quota is done to maintain our cache, so that's expected.  Remove them from results
    	for i := range in {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:28:42 UTC 2024
    - 84.1K bytes
    - Viewed (0)
  2. src/cmd/go/go_test.go

    	}
    }
    
    // If -testwork is specified, the test prints the name of the temp directory
    // and does not remove it when done, so that a programmer can
    // poke at the test file tree afterward.
    var testWork = flag.Bool("testwork", false, "")
    
    // cleanup cleans up a test that runs testgo.
    func (tg *testgoData) cleanup() {
    	tg.t.Helper()
    	if *testWork {
    		if tg.tempdir != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  3. pkg/kubelet/server/server_test.go

    				assert.Equal(t, testPodSandboxID, podSandboxID, "pod sandbox id")
    				// The port should be valid if it reaches here.
    				testPort, err := strconv.ParseInt(test.port, 10, 32)
    				require.NoError(t, err, "parse port")
    				assert.Equal(t, int32(testPort), port, "port")
    
    				if test.clientData != "" {
    					fromClient := make([]byte, 32)
    					n, err := stream.Read(fromClient)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  4. src/testing/testing.go

    				// So make 'no tests to run' a hard failure when testing package testing itself.
    				fmt.Print(chatty.prefix(), "FAIL: package testing must run tests\n")
    				testOk = false
    			}
    		}
    		anyFailed := !testOk || !exampleOk || !fuzzTargetsOk || !runBenchmarks(m.deps.ImportPath(), m.deps.MatchString, m.benchmarks)
    		if !anyFailed && race.Errors() > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  5. src/encoding/xml/marshal_test.go

    	for i := 0; i < 2; i++ {
    		wg.Add(1)
    		go func() {
    			Marshal(B{[]A{{}}})
    			wg.Done()
    		}()
    	}
    	wg.Wait()
    }
    
    func TestIsValidDirective(t *testing.T) {
    	testOK := []string{
    		"<>",
    		"< < > >",
    		"<!DOCTYPE '<' '>' '>' <!--nothing-->>",
    		"<!DOCTYPE doc [ <!ELEMENT doc ANY> <!ELEMENT doc ANY> ]>",
    		"<!DOCTYPE doc [ <!ELEMENT doc \"ANY> '<' <!E\" LEMENT '>' doc ANY> ]>",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 66K bytes
    - Viewed (0)
  6. tests/query_test.go

    		t.Fatalf("Build NOT condition, but got %v", result.Statement.SQL.String())
    	}
    }
    
    func TestOr(t *testing.T) {
    	dryDB := DB.Session(&gorm.Session{DryRun: true})
    
    	var count int64
    	result := dryDB.Model(&User{}).Or("role = ?", "admin").Count(&count)
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 49.8K bytes
    - Viewed (0)
Back to top