Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for testLogs (0.18 sec)

  1. pkg/kubelet/logs/container_log_manager_test.go

    	logs, err := os.ReadDir(dir)
    	require.NoError(t, err)
    	assert.Len(t, logs, 5)
    	assert.Equal(t, testLogs[0], logs[0].Name())
    	assert.Equal(t, testLogs[1]+"."+timestamp, logs[1].Name())
    	assert.Equal(t, testLogs[4]+compressSuffix, logs[2].Name())
    	assert.Equal(t, testLogs[2]+"."+timestamp, logs[3].Name())
    	assert.Equal(t, testLogs[3], logs[4].Name())
    }
    
    func TestClean(t *testing.T) {
    	ctx := context.Background()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. src/cmd/internal/test2json/testdata/vet.json

    {"Action":"cont","Test":"TestTags"}
    {"Action":"output","Test":"TestTags","Output":"=== CONT  TestTags\n"}
    {"Action":"cont","Test":"TestVetVerbose"}
    {"Action":"output","Test":"TestVetVerbose","Output":"=== CONT  TestVetVerbose\n"}
    {"Action":"run","Test":"TestTags/testtag"}
    {"Action":"output","Test":"TestTags/testtag","Output":"=== RUN   TestTags/testtag\n"}
    {"Action":"output","Test":"TestTags/testtag","Output":"=== PAUSE TestTags/testtag\n"}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 09 17:33:07 UTC 2022
    - 11.8K bytes
    - Viewed (0)
  3. src/cmd/internal/test2json/testdata/smiley.json

    {"Action":"cont","Test":"TestTags"}
    {"Action":"output","Test":"TestTags","Output":"=== CONT  TestTags\n"}
    {"Action":"cont","Test":"Test☺☹Verbose"}
    {"Action":"output","Test":"Test☺☹Verbose","Output":"=== CONT  Test☺☹Verbose\n"}
    {"Action":"run","Test":"TestTags/testtag"}
    {"Action":"output","Test":"TestTags/testtag","Output":"=== RUN   TestTags/testtag\n"}
    {"Action":"output","Test":"TestTags/testtag","Output":"=== PAUSE TestTags/testtag\n"}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 09 17:33:07 UTC 2022
    - 12.4K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/preemption/preemption_test.go

    		nodes              []*v1.Node
    		testPods           []*v1.Pod
    		initPods           []*v1.Pod
    		numViolatingVictim int
    		expected           [][]Candidate
    	}{
    		{
    			name: "no pdb violation",
    			nodes: []*v1.Node{
    				st.MakeNode().Name("node1").Capacity(veryLargeRes).Obj(),
    				st.MakeNode().Name("node2").Capacity(veryLargeRes).Obj(),
    			},
    			testPods: []*v1.Pod{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  5. hack/make-rules/test.sh

          exit 1
          ;;
        ?)
          kube::test::usage
          exit 1
          ;;
      esac
    done
    shift $((OPTIND - 1))
    
    # Use eval to preserve embedded quoted strings.
    testargs=()
    eval "testargs=(${KUBE_TEST_ARGS:-})"
    
    # Used to filter verbose test output.
    go_test_grep_pattern=".*"
    
    goflags=()
    # The junit report tool needs full test case information to produce a
    # meaningful report.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 22:40:10 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfr/python/tfr_gen_test.py

    from tensorflow.compiler.mlir.tfr.python import composite
    from tensorflow.compiler.mlir.tfr.python.tfr_gen import tfr_gen_from_module as tfr_gen
    from tensorflow.compiler.mlir.tfr.resources import gen_test_ops as test_ops
    from tensorflow.python.framework import dtypes
    from tensorflow.python.ops import gen_array_ops as array_ops
    from tensorflow.python.ops import gen_math_ops as math_ops
    from tensorflow.python.platform import test
    
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 13 16:33:28 UTC 2021
    - 28.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/lastappliedmanager_test.go

    	yamlutil "k8s.io/apimachinery/pkg/util/yaml"
    	"sigs.k8s.io/structured-merge-diff/v4/fieldpath"
    	"sigs.k8s.io/structured-merge-diff/v4/merge"
    	"sigs.k8s.io/yaml"
    )
    
    type testArgs struct {
    	lastApplied       []byte
    	original          []byte
    	applied           []byte
    	fieldManager      string
    	expectConflictSet *fieldpath.Set
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 20K bytes
    - Viewed (0)
  8. cluster/images/etcd/migrate/integration_test.go

    		t.Run(m.title, func(t *testing.T) {
    			start := mustParseEtcdVersionPair(m.startVersion)
    			end := mustParseEtcdVersionPair(m.endVersion)
    
    			testCfgs := clusterConfig(t, m.title, m.memberCount, m.protocol, m.clientListenUrls)
    
    			servers := []*EtcdMigrateServer{}
    			for _, cfg := range testCfgs {
    				client, err := NewEtcdMigrateClient(cfg)
    				if err != nil {
    					t.Fatalf("Failed to create client: %v", err)
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 28 07:33:23 UTC 2022
    - 11.4K bytes
    - Viewed (0)
  9. src/cmd/vet/vet_test.go

    	}
    	err = errorCheck(string(output), false, fullshort...)
    	if err != nil {
    		t.Errorf("error check failed: %s", err)
    	}
    }
    
    // TestTags verifies that the -tags argument controls which files to check.
    func TestTags(t *testing.T) {
    	t.Parallel()
    	for tag, wantFile := range map[string]int{
    		"testtag":     1, // file1
    		"x testtag y": 1,
    		"othertag":    2,
    	} {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 01:02:40 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  10. src/os/file.go

    func Chdir(dir string) error {
    	if e := syscall.Chdir(dir); e != nil {
    		testlog.Open(dir) // observe likely non-existent directory
    		return &PathError{Op: "chdir", Path: dir, Err: e}
    	}
    	if runtime.GOOS == "windows" {
    		getwdCache.Lock()
    		getwdCache.dir = dir
    		getwdCache.Unlock()
    	}
    	if log := testlog.Logger(); log != nil {
    		wd, err := Getwd()
    		if err == nil {
    			log.Chdir(wd)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:37 UTC 2024
    - 25.4K bytes
    - Viewed (0)
Back to top