(t *testing.T)
| 364 | } |
| 365 | |
| 366 | func TestStartAndStopHTTPServers(t *testing.T) { |
| 367 | base.SetUpTestLogging(t, base.LevelInfo, base.KeyAll) |
| 368 | |
| 369 | sc, closeFn := StartBootstrapServer(t) |
| 370 | defer closeFn() |
| 371 | |
| 372 | resp, err := http.Get("http://" + mustGetServerAddr(t, sc, publicServer)) |
| 373 | require.NoError(t, err) |
| 374 | require.NoError(t, resp.Body.Close()) |
| 375 | assert.Equal(t, http.StatusOK, resp.StatusCode) |
| 376 | |
| 377 | } |
| 378 | |
| 379 | // CBG-1518 - Test CA Certificate behaviour with and with Bootstrap.ServerTLSSkipVerify |
| 380 | func TestTLSSkipVerifyCombinations(t *testing.T) { |
nothing calls this directly
no test coverage detected