Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for RestartTestServer (0.14 sec)

  1. cmd/admin-handlers-users_test.go

    	s.TestSuiteCommon.SetUpSuite(c)
    
    	s.iamSetup(c)
    
    	if s.withEtcdBackend {
    		s.setUpEtcd(c, etcdServer)
    	}
    }
    
    func (s *TestSuiteIAM) RestartIAMSuite(c *check) {
    	s.TestSuiteCommon.RestartTestServer(c)
    
    	s.iamSetup(c)
    }
    
    func (s *TestSuiteIAM) getAdminClient(c *check, accessKey, secretKey, sessionToken string) *madmin.AdminClient {
    	madmClnt, err := madmin.NewWithOptions(s.endpoint, &madmin.Options{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 47.3K bytes
    - Viewed (0)
  2. cmd/server_test.go

    	}
    
    	s.client = s.testServer.Server.Client()
    	s.endPoint = s.testServer.Server.URL
    	s.accessKey = s.testServer.AccessKey
    	s.secretKey = s.testServer.SecretKey
    }
    
    func (s *TestSuiteCommon) RestartTestServer(c *check) {
    	// Shutdown.
    	s.testServer.cancel()
    	s.testServer.Server.Close()
    	s.testServer.Obj.Shutdown(context.Background())
    
    	// Restart.
    	ctx, cancel := context.WithCancel(context.Background())
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
Back to top