TestBootstrapDiagnosticAPI asserts on diagnostic API endpoints
(t *testing.T)
| 187 | |
| 188 | // TestBootstrapDiagnosticAPI asserts on diagnostic API endpoints |
| 189 | func TestBootstrapPingAPI(t *testing.T) { |
| 190 | base.SetUpTestLogging(t, base.LevelInfo, base.KeyHTTP) |
| 191 | |
| 192 | sc, closeFn := StartBootstrapServer(t) |
| 193 | defer closeFn() |
| 194 | |
| 195 | resp := doBootstrapRequest(t, sc, http.MethodGet, "/_ping/", "", nil, diagnosticServer) |
| 196 | resp.RequireStatus(http.StatusOK) |
| 197 | } |
| 198 | |
| 199 | // Development-time test, expects locally running Couchbase Server and designed for long-running memory profiling |
| 200 | func DevTestFetchConfigManual(t *testing.T) { |
nothing calls this directly
no test coverage detected