Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestGetInterval (0.12 sec)

  1. pilot/pkg/model/telemetry_test.go

    						res[f.GetName()] = cfg.GetValue()
    					}
    				}
    			}
    			if diff := cmp.Diff(res, tt.want); diff != "" {
    				t.Errorf("got diff: %v", diff)
    			}
    		})
    	}
    }
    
    func TestGetInterval(t *testing.T) {
    	cases := []struct {
    		name              string
    		input, defaultVal time.Duration
    		expected          *durationpb.Duration
    	}{
    		{
    			name:       "return nil",
    			input:      0,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 39.6K bytes
    - Viewed (0)
Back to top