()
| 107 | } |
| 108 | |
| 109 | func getConnectionDetails() (host string, password string) { |
| 110 | value, exists := os.LookupEnv("REDISGRAPH_TEST_HOST") |
| 111 | host = "localhost:6379" |
| 112 | if exists && value != "" { |
| 113 | host = value |
| 114 | } |
| 115 | password = "" |
| 116 | valuePassword, existsPassword := os.LookupEnv("REDISGRAPH_TEST_PASSWORD") |
| 117 | if existsPassword && valuePassword != "" { |
| 118 | password = valuePassword |
| 119 | } |
| 120 | return |
| 121 | } |
| 122 | |
| 123 | func getTLSdetails() (tlsready bool, tls_cert string, tls_key string, tls_cacert string) { |
| 124 | tlsready = false |
no outgoing calls
no test coverage detected