()
| 316 | } |
| 317 | |
| 318 | func getIntegrationDir() string { |
| 319 | _, filename, _, ok := runtime.Caller(1) |
| 320 | if !ok { |
| 321 | panic("unable to determine the current file path") |
| 322 | } |
| 323 | |
| 324 | return path.Dir(filename) |
| 325 | } |
| 326 | |
| 327 | // use the convention to replace /[certificatename].[crt|key] with the full path |
| 328 | // this helps reduce the noise in test configurations and also allow this |
no outgoing calls