Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for testing (0.18 sec)

  1. cmd/sts-handlers_test.go

    }
    
    // SetUpLDAPWithNonNormalizedBaseDN - expects to setup an LDAP test server using
    // the test LDAP container and canned data from
    // https://github.com/minio/minio-ldap-testing
    //
    // Sets up non-normalized base DN configuration for testing.
    func (s *TestSuiteIAM) SetUpLDAPWithNonNormalizedBaseDN(c *check, serverAddr string) {
    	ctx, cancel := context.WithTimeout(context.Background(), testDefaultTimeout)
    	defer cancel()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  2. cmd/object-api-listobjects_test.go

    	"encoding/hex"
    	"fmt"
    	"strconv"
    	"strings"
    	"testing"
    )
    
    func TestListObjectsVersionedFolders(t *testing.T) {
    	ExecObjectLayerTest(t, testListObjectsVersionedFolders)
    }
    
    func testListObjectsVersionedFolders(obj ObjectLayer, instanceType string, t1 TestErrHandler) {
    	t, _ := t1.(*testing.T)
    	testBuckets := []string{
    		// This bucket is used for testing ListObject operations.
    		"test-bucket-folders",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  3. cmd/object-api-multipart_test.go

    		// Test cases with prefixes.
    		// Testing listing with prefix set to "min" (Test number 40)	.
    		{bucketNames[2], "min", "", "", "", 100, listMultipartResults[26], nil, true},
    		// Testing listing with prefix set to "ney" (Test number 41).
    		{bucketNames[2], "ney", "", "", "", 100, listMultipartResults[27], nil, true},
    		// Testing listing with prefix set to "par" (Test number 42).
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
  4. cmd/api-errors.go

    	ErrLambdaARNNotFound
    
    	// New Codes for GetObjectAttributes and GetObjectVersionAttributes
    	ErrInvalidAttributeName
    
    	ErrAdminNoAccessKey
    	ErrAdminNoSecretKey
    
    	apiErrCodeEnd // This is used only for the testing code
    )
    
    type errorCodeMap map[APIErrorCode]APIError
    
    func (e errorCodeMap) ToAPIErrWithErr(errCode APIErrorCode, err error) APIError {
    	apiErr, ok := e[errCode]
    	if !ok {
    		apiErr = e[ErrInternalError]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  5. internal/s3select/select_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package s3select
    
    import (
    	"bytes"
    	"encoding/xml"
    	"fmt"
    	"io"
    	"net/http"
    	"os"
    	"reflect"
    	"strings"
    	"testing"
    
    	"github.com/klauspost/cpuid/v2"
    	"github.com/minio/minio-go/v7"
    	"github.com/minio/simdjson-go"
    )
    
    func newStringRSC(s string) io.ReadSeekCloser {
    	return newBytesRSC([]byte(s))
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  6. cmd/test-utils_test.go

    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/mux"
    	"github.com/minio/pkg/v2/policy"
    )
    
    // TestMain to set up global env.
    func TestMain(m *testing.M) {
    	flag.Parse()
    
    	// set to 'true' when testing is invoked
    	globalIsTesting = true
    
    	globalIsCICD = globalIsTesting
    
    	globalActiveCred = auth.Credentials{
    		AccessKey: auth.DefaultAccessKey,
    		SecretKey: auth.DefaultSecretKey,
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  7. cmd/erasure-server-pool.go

    	}
    
    	if merged.lastSkippedEntry != "" {
    		if merged.lastSkippedEntry > loi.NextMarker {
    			// An object hidden by ILM was found during listing. Since the number of entries
    			// fetched from drives is limited, set IsTruncated to true to ask the s3 client
    			// to continue listing if it wishes in order to find if there is more objects.
    			loi.IsTruncated = true
    			loi.NextMarker = merged.lastSkippedEntry
    		}
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  8. cmd/iam.go

    	entityKeysInStorage := set.NewStringSet()
    	if iamOS, ok := sys.store.IAMStorageAPI.(*IAMObjectStore); ok {
    		// Load existing mapping keys from the cached listing for
    		// `IAMObjectStore`.
    		iamFilesListing := iamOS.cachedIAMListing.Load().(map[string][]string)
    		listKey := policyDBSTSUsersListKey
    		if isGroup {
    			listKey = policyDBGroupsListKey
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  9. cmd/erasure-object.go

    		// lower layers decide this. This fixes a regression that was introduced
    		// in PR #14555 where !VersionPurgeStatus.Empty() is automatically
    		// considered as Delete marker true to avoid listing such objects by
    		// regular ListObjects() calls. However for delete replication this
    		// ends up being a problem because "upon" a successful delete this
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  10. cmd/storage-datatypes_gen_test.go

    package cmd
    
    // Code generated by github.com/tinylib/msgp DO NOT EDIT.
    
    import (
    	"bytes"
    	"testing"
    
    	"github.com/tinylib/msgp/msgp"
    )
    
    func TestMarshalUnmarshalBaseOptions(t *testing.T) {
    	v := BaseOptions{}
    	bts, err := v.MarshalMsg(nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    	left, err := v.UnmarshalMsg(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 01 23:42:09 GMT 2024
    - 60.4K bytes
    - Viewed (0)
Back to top