- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for StartTestTLSServer (0.25 sec)
-
cmd/test-utils_test.go
// The generated certificate contains IP SAN, that way we don't need // to enable InsecureSkipVerify in TLS config // Starts the test server and returns the TestServer with TLS configured instance. func StartTestTLSServer(t TestErrHandler, instanceType string, cert, key []byte) TestServer { // Fetch TLS key and pem files from test-data/ directory. // dir, _ := os.Getwd() // testDataDir := filepath.Join(filepath.Dir(dir), "test-data")
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 01 22:13:18 UTC 2024 - 77K bytes - Viewed (0) -
cmd/server_test.go
// Starting the Test server with temporary backend. func (s *TestSuiteCommon) SetUpSuite(c *check) { if s.secure { cert, key, err := generateTLSCertKey("127.0.0.1") c.Assert(err, nil) s.testServer = StartTestTLSServer(c, s.serverType, cert, key) } else { s.testServer = StartTestServer(c, s.serverType) } s.client = s.testServer.Server.Client() s.endPoint = s.testServer.Server.URL
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 15 16:28:02 UTC 2024 - 116.3K bytes - Viewed (0)