testUUID returns a UUID with bytes set as b, but shifted 6 bytes so that service prefixes don't overwrite them.
(b ...byte)
| 1484 | // testUUID returns a UUID with bytes set as b, but shifted 6 bytes so that service prefixes don't |
| 1485 | // overwrite them. |
| 1486 | func testUUID(b ...byte) uuid.UUID { |
| 1487 | o := uuid.UUID{} |
| 1488 | for i := range b { |
| 1489 | o[i+6] = b[i] |
| 1490 | } |
| 1491 | return o |
| 1492 | } |
| 1493 | |
| 1494 | type fakeDNSSetter struct { |
| 1495 | ctx context.Context |
no outgoing calls
no test coverage detected