(i int)
| 48 | func kindName(kind string, i int) string { return kind + "-seed-" + itoa(i) } |
| 49 | |
| 50 | func itoa(i int) string { |
| 51 | if i == 0 { |
| 52 | return "0" |
| 53 | } |
| 54 | var b []byte |
| 55 | for i > 0 { |
| 56 | b = append([]byte{byte('0' + i%10)}, b...) |
| 57 | i /= 10 |
| 58 | } |
| 59 | return string(b) |
| 60 | } |
| 61 | |
| 62 | func TestMetadataRefreshEndpointWiring(t *testing.T) { |
| 63 | if testing.Short() || os.Getenv("CAM_RUN_LIVE_TESTS") != "1" { |
no outgoing calls
no test coverage detected