Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 272 for runFix (0.11 sec)

  1. pkg/test/framework/testcontext.go

    	dir, err := os.MkdirTemp(c.workDir, name)
    	if err != nil {
    		scopes.Framework.Errorf("Error creating dir: runID='%v', prefix='%s', workDir='%v', err='%v'",
    			c.suite.settings.RunID, name, c.workDir, err)
    	} else {
    		scopes.Framework.Debugf("Created a dir: runID='%v', name='%s'", c.suite.settings.RunID, dir)
    	}
    	return dir, err
    }
    
    func (c *testContext) CreateDirectoryOrFail(name string) string {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  2. pkg/serviceaccount/claims_test.go

    		{
    			name: "deleted now",
    			time: &metav1.Time{Time: time.Unix(nowUnix, 0)},
    		},
    		{
    			name: "deleted near past",
    			time: &metav1.Time{Time: time.Unix(nowUnix-1, 0)},
    		},
    		{
    			name: "deleted near future",
    			time: &metav1.Time{Time: time.Unix(nowUnix+1, 0)},
    		},
    		{
    			name: "deleted now-leeway",
    			time: &metav1.Time{Time: time.Unix(nowUnix-60, 0)},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  3. cmd/erasure-healing-common_test.go

    			[]time.Time{
    				time.Unix(0, 1).UTC(),
    				time.Unix(0, 2).UTC(),
    				time.Unix(0, 3).UTC(),
    				time.Unix(0, 3).UTC(),
    				time.Unix(0, 2).UTC(),
    				time.Unix(0, 3).UTC(),
    				time.Unix(0, 1).UTC(),
    			},
    			time.Unix(0, 3).UTC(),
    			3,
    		},
    		{
    			// 2. Tests common time obtained when all elements are equal.
    			[]time.Time{
    				time.Unix(0, 3).UTC(),
    				time.Unix(0, 3).UTC(),
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 23K bytes
    - Viewed (0)
  4. src/net/splice_linux_test.go

    	if !testableNetwork("unixgram") {
    		t.Skip("skipping unix-to-tcp tests")
    	}
    	t.Run("unix-to-tcp", func(t *testing.T) { testSplice(t, "unix", "tcp") })
    	t.Run("tcp-to-unix", func(t *testing.T) { testSplice(t, "tcp", "unix") })
    	t.Run("tcp-to-file", func(t *testing.T) { testSpliceToFile(t, "tcp", "file") })
    	t.Run("unix-to-file", func(t *testing.T) { testSpliceToFile(t, "unix", "file") })
    	t.Run("no-unixpacket", testSpliceNoUnixpacket)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:49:26 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  5. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/os/OperatingSystem.java

        public static final Solaris SOLARIS = new Solaris();
        public static final Linux LINUX = new Linux();
        public static final FreeBSD FREE_BSD = new FreeBSD();
        public static final Unix UNIX = new Unix();
        private static OperatingSystem currentOs;
        private final String toStringValue;
        private final String osName;
        private final String osVersion;
    
        OperatingSystem() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. pkg/kubelet/stats/cri_stats_provider_windows.go

    		StartTime: metav1.NewTime(time.Unix(0, container.CreatedAt)),
    		CPU:       &statsapi.CPUStats{},
    		Memory:    &statsapi.MemoryStats{},
    		Rootfs:    &statsapi.FsStats{},
    		// UserDefinedMetrics is not supported by CRI.
    	}
    	if stats.Cpu != nil {
    		result.CPU.Time = metav1.NewTime(time.Unix(0, stats.Cpu.Timestamp))
    		if stats.Cpu.UsageCoreNanoSeconds != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 18 07:03:11 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. cmd/erasure-metadata_test.go

    			fis:            getNFInfo(16, 16, 1603863445, "36a21454-a2ca-11eb-bbaa-93a81c686f21", nil, nil),
    			modTime:        time.Unix(1603863445, 0),
    			expectedErr:    nil,
    			expectedQuorum: 8,
    		},
    		{
    			fis:            getNFInfo(16, 7, 1603863445, "36a21454-a2ca-11eb-bbaa-93a81c686f21", nil, nil),
    			modTime:        time.Unix(1603863445, 0),
    			expectedErr:    InsufficientReadQuorum{},
    			expectedQuorum: 8,
    		},
    		{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 17 20:57:37 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. pkg/kubelet/kuberuntime/kuberuntime_container_test.go

    			},
    			expected: &kubecontainer.Status{
    				ID:         *cid,
    				Image:      imageSpec.Image,
    				State:      kubecontainer.ContainerStateExited,
    				CreatedAt:  time.Unix(0, createdAt),
    				StartedAt:  time.Unix(0, startedAt),
    				FinishedAt: time.Unix(0, finishedAt),
    				ExitCode:   121,
    				Reason:     "GotKilled",
    				Message:    "The container was killed",
    			},
    		},
    		"unknown container": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 28K bytes
    - Viewed (0)
  9. cni/pkg/nodeagent/ztunnelserver.go

    	if err != nil {
    		return nil, fmt.Errorf("failed to resolve unix addr: %w", err)
    	}
    	// remove potentially existing address
    	// Remove unix socket before use, if one is leftover from previous CNI restart
    	if err := os.Remove(addr); err != nil && !os.IsNotExist(err) {
    		// Anything other than "file not found" is an error.
    		return nil, fmt.Errorf("failed to remove unix://%s: %w", addr, err)
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 22:07:03 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  10. src/net/net_test.go

    	}
    	t.Parallel()
    
    	for _, network := range []string{"tcp", "unix", "unixpacket"} {
    		network := network
    		t.Run(network, func(t *testing.T) {
    			if !testableNetwork(network) {
    				t.Skipf("network %s is not testable on the current platform", network)
    			}
    			t.Parallel()
    
    			ln := newLocalListener(t, network)
    			switch network {
    			case "unix", "unixpacket":
    				defer os.Remove(ln.Addr().String())
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 21:04:44 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top