Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestGetContainerStatus (0.15 sec)

  1. pkg/api/v1/pod/util_test.go

    		isTerminal := IsPodTerminal(pod)
    		if isTerminal != test.expected {
    			t.Errorf("[tc #%d] expected terminal pod: %t, got: %t", i, test.expected, isTerminal)
    		}
    	}
    }
    
    func TestGetContainerStatus(t *testing.T) {
    	type ExpectedStruct struct {
    		status v1.ContainerStatus
    		exists bool
    	}
    
    	tests := []struct {
    		status   []v1.ContainerStatus
    		name     string
    		expected ExpectedStruct
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 25 11:04:08 UTC 2023
    - 32.1K bytes
    - Viewed (0)
Back to top