Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Test_As_Pod (1.44 sec)

  1. pkg/scheduler/util/utils_test.go

    			if diff := cmp.Diff(tc.statusToUpdate, retrievedPod.Status); diff != "" {
    				t.Errorf("unexpected pod status (-want,+got):\n%s", diff)
    			}
    		})
    	}
    }
    
    // Test_As tests the As function with Pod.
    func Test_As_Pod(t *testing.T) {
    	tests := []struct {
    		name       string
    		oldObj     interface{}
    		newObj     interface{}
    		wantOldObj *v1.Pod
    		wantNewObj *v1.Pod
    		wantErr    bool
    	}{
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Sep 21 01:40:44 UTC 2023
    - 14.5K bytes
    - Viewed (0)
Back to top