Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 673 for mocked (0.45 sec)

  1. docs/orchestration/docker-compose/docker-compose.yaml

      # environment:
        # MINIO_ROOT_USER: minioadmin
        # MINIO_ROOT_PASSWORD: minioadmin
      healthcheck:
        test: ["CMD", "mc", "ready", "local"]
        interval: 5s
        timeout: 5s
        retries: 5
    
    # starts 4 docker containers running minio server instances.
    # using nginx reverse proxy, load balancing, you can access
    # it through port 9000.
    services:
      minio1:
        <<: *minio-common
        hostname: minio1
        volumes:
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 02:45:52 GMT 2024
    - 1.5K bytes
    - Viewed (1)
  2. .github/workflows/sigbuild-docker-branch.yml

          -
            name: Set up Docker Buildx
            uses: docker/setup-buildx-action@8c0edbc76e98fa90f69d9a2c020dcb50019dc325 # v2.2.1
          -
            name: Login to DockerHub
            uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a # v2.1.0
            with:
              username: ${{ secrets.DOCKERHUB_USERNAME }}
              password: ${{ secrets.DOCKERHUB_TOKEN }}
          -
    Others
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Oct 23 18:43:43 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  3. .github/workflows/sigbuild-docker-presubmit.yml

          -
            name: Set up Docker Buildx
            uses: docker/setup-buildx-action@8c0edbc76e98fa90f69d9a2c020dcb50019dc325 # v2.2.1
          -
            name: Login to GCR
            if: contains(github.event.pull_request.labels.*.name, 'build and push to gcr.io for staging')
            uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a # v2.1.0
            with:
    Others
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Oct 23 18:43:43 GMT 2023
    - 4K bytes
    - Viewed (0)
  4. internal/lsync/lrwmutex_test.go

    	wl := NewLRWMutex()
    	var rl sync.Locker
    	wlocked := make(chan bool, 1)
    	rlocked := make(chan bool, 1)
    	rl = wl.DRLocker()
    	n := 10
    	go func() {
    		for i := 0; i < n; i++ {
    			rl.Lock()
    			rl.Lock()
    			rlocked <- true
    			wl.Lock()
    			wlocked <- true
    		}
    	}()
    	for i := 0; i < n; i++ {
    		<-rlocked
    		rl.Unlock()
    		select {
    		case <-wlocked:
    			t.Fatal("RLocker() didn't read-lock it")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 05 04:57:35 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  5. internal/dsync/drwmutex_test.go

    	expected := true
    	if locked != expected {
    		t.Errorf("TestSimpleWriteLockAcquired(): \nexpected %#v\ngot      %#v", expected, locked)
    	}
    }
    
    func TestSimpleWriteLockTimedOut(t *testing.T) {
    	locked := testSimpleWriteLock(t, testDrwMutexAcquireTimeout)
    
    	expected := false
    	if locked != expected {
    		t.Errorf("TestSimpleWriteLockTimedOut(): \nexpected %#v\ngot      %#v", expected, locked)
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 24 03:49:07 GMT 2022
    - 9.7K bytes
    - Viewed (0)
  6. internal/lsync/lrwmutex.go

    			lm.ref = 1
    			lm.isWriteLock = true
    			locked = true
    		}
    	} else {
    		if !lm.isWriteLock {
    			lm.ref++
    			locked = true
    		}
    	}
    
    	return locked
    }
    
    const (
    	lockRetryInterval = 50 * time.Millisecond
    )
    
    // lockLoop will acquire either a read or a write lock
    //
    // The call will block until the lock is granted using a built-in
    // timing randomized back-off algorithm to try again until successful
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 4.8K bytes
    - Viewed (0)
  7. internal/dsync/locker.go

    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package dsync
    
    import "context"
    
    // NetLocker is dsync compatible locker interface.
    type NetLocker interface {
    	// Do read lock for given LockArgs.  It should return
    	// * a boolean to indicate success/failure of the operation
    	// * an error on failure of lock request operation.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 18 20:44:38 GMT 2022
    - 2.7K bytes
    - Viewed (0)
  8. .github/workflows/multipart/docker-compose-site1.yaml

    x-minio-common: &minio-common
      image: quay.io/minio/minio:${RELEASE}
      command: server http://site1-minio{1...4}/data{1...2}
      environment:
        - MINIO_PROMETHEUS_AUTH_TYPE=public
        - CI=true
    
    # starts 4 docker containers running minio server instances.
    # using nginx reverse proxy, load balancing, you can access
    # it through port 9000.
    services:
      site1-minio1:
        <<: *minio-common
        hostname: site1-minio1
        volumes:
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Sep 30 10:13:56 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  9. .github/workflows/multipart/docker-compose-site2.yaml

    x-minio-common: &minio-common
      image: quay.io/minio/minio:${RELEASE}
      command: server http://site2-minio{1...4}/data{1...2}
      environment:
        - MINIO_PROMETHEUS_AUTH_TYPE=public
        - CI=true
    
    # starts 4 docker containers running minio server instances.
    # using nginx reverse proxy, load balancing, you can access
    # it through port 9000.
    services:
      site2-minio1:
        <<: *minio-common
        hostname: site2-minio1
        volumes:
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Sep 30 10:13:56 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  10. internal/dsync/locked_rand.go

    Harshavardhana <******@****.***> 1634571599 -0700
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Oct 18 15:39:59 GMT 2021
    - 1.3K bytes
    - Viewed (0)
Back to top