Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for SetUpSuite (0.09 sec)

  1. cmd/admin-handlers-users-race_test.go

    	"testing"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    	minio "github.com/minio/minio-go/v7"
    	"github.com/minio/pkg/v3/sync/errgroup"
    )
    
    func runAllIAMConcurrencyTests(suite *TestSuiteIAM, c *check) {
    	suite.SetUpSuite(c)
    	suite.TestDeleteUserRace(c)
    	suite.TearDownSuite(c)
    }
    
    func TestIAMInternalIDPConcurrencyServerSuite(t *testing.T) {
    	if runtime.GOOS == globalWindowsOSName {
    		t.Skip("windows is clunky")
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 28 09:06:25 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. cmd/sts-handlers_test.go

    						},
    					},
    				}
    
    				for caseNum, content := range iamTestContentCases {
    					suite.SetUpSuite(c)
    					suite.SetUpLDAP(c, ldapServer)
    					exportedContent := suite.TestIAMExport(c, caseNum, content)
    					suite.TearDownSuite(c)
    					suite.SetUpSuite(c)
    					suite.SetUpLDAP(c, ldapServer)
    					suite.TestIAMImport(c, exportedContent, caseNum, content)
    					suite.TearDownSuite(c)
    				}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  3. cmd/admin-handlers-users_test.go

    	s.RestartIAMSuite(c)
    }
    
    func (s *TestSuiteIAM) SetUpSuite(c *check) {
    	// If etcd backend is specified and etcd server is not present, the test
    	// is skipped.
    	etcdServer := env.Get(EnvTestEtcdBackend, "")
    	if s.withEtcdBackend && etcdServer == "" {
    		c.Skip("Skipping etcd backend IAM test as no etcd server is configured.")
    	}
    
    	s.TestSuiteCommon.SetUpSuite(c)
    
    	s.iamSetup(c)
    
    	if s.withEtcdBackend {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 47.3K bytes
    - Viewed (0)
  4. cmd/sftp-server_test.go

    		t.Run(
    			fmt.Sprintf("Test: %d, ServerType: %s", i+1, testCase.ServerTypeDescription),
    			func(t *testing.T) {
    				c := &check{t, testCase.serverType}
    				suite := testCase
    
    				suite.SetUpSuite(c)
    
    				suite.SFTPServiceAccountLogin(c)
    				suite.SFTPInvalidServiceAccountPassword(c)
    
    				// LDAP tests
    				ldapServer := os.Getenv(EnvTestLDAPServer)
    				if ldapServer == "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 28 09:06:25 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  5. cmd/server_test.go

    	c.Assert(err, nil)
    	c.Assert(errorResponse.Code, code)
    	c.Assert(errorResponse.Message, description)
    	c.Assert(response.StatusCode, statusCode)
    }
    
    func runAllTests(suite *TestSuiteCommon, c *check) {
    	suite.SetUpSuite(c)
    	suite.TestCors(c)
    	suite.TestObjectDir(c)
    	suite.TestBucketPolicy(c)
    	suite.TestDeleteBucket(c)
    	suite.TestDeleteBucketNotEmpty(c)
    	suite.TestDeleteMultipleObjects(c)
    	suite.TestDeleteObject(c)
    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