getRandomProtocol returns a random protocol value
()
| 33 | |
| 34 | // getRandomProtocol returns a random protocol value |
| 35 | func getRandomProtocol() schema.EndpointProtocol { |
| 36 | return Protocols[GetRandomNumber(1, len(Protocols))-1] |
| 37 | } |
| 38 | |
| 39 | // getUniquePort return a port value not previously used in that same devfile |
| 40 | func (devfile *TestDevfile) getUniquePort() int { |
no test coverage detected