Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 441 for Sleeps (0.05 seconds)

  1. docs/bucket/replication/delete-replication.sh

    export MINIO_ROOT_PASSWORD="minioadmin"
    
    ./minio server --address ":9001" /tmp/xl/1/{1...4}/ 2>&1 >/tmp/dc1.log &
    pid1=$!
    ./minio server --address ":9002" /tmp/xl/2/{1...4}/ 2>&1 >/tmp/dc2.log &
    pid2=$!
    
    sleep 3
    
    export MC_HOST_myminio1=http://minioadmin:minioadmin@localhost:9001
    export MC_HOST_myminio2=http://minioadmin:minioadmin@localhost:9002
    
    ./mc ready myminio1
    ./mc ready myminio2
    
    ./mc mb myminio1/testbucket/
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Sep 06 09:42:21 GMT 2024
    - 3.9K bytes
    - Click Count (0)
  2. src/test/java/jcifs/util/SimpleCircuitBreakerTest.java

            // Open the circuit
            circuitBreaker.tripBreaker();
            assertEquals(SimpleCircuitBreaker.State.OPEN, circuitBreaker.getState());
    
            // Wait for timeout
            Thread.sleep(150);
    
            // Next call should transition to HALF_OPEN
            String result = circuitBreaker.call(() -> "success");
            assertEquals("success", result);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  3. buildscripts/disable-root.sh

    done
    
    sleep 10s
    
    if [ ! -f ./mc ]; then
    	wget --quiet -O ./mc https://dl.minio.io/client/mc/release/linux-amd64/./mc &&
    		chmod +x mc
    fi
    
    set +e
    
    export MC_HOST_minioadm=http://minioadmin:minioadmin@localhost:9100/
    ./mc ready minioadm
    
    ./mc ls minioadm/
    
    ./mc admin config set minioadm/ api root_access=off
    
    sleep 3s # let things settle a little
    
    ./mc ls minioadm/
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed May 22 23:07:14 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  4. buildscripts/verify-healing.sh

    	pid3=$!
    	disown $pid3
    
    	export MC_HOST_myminio="http://minio:minio123@127.0.0.1:$((start_port + 1))"
    	timeout 15m /tmp/mc ready myminio || fail
    
    	[ ${first_time} -eq 0 ] && upload_objects
    	[ ${first_time} -ne 0 ] && sleep 120
    
    	if ! ps -p $pid1 1>&2 >/dev/null; then
    		echo "minio server 1 is not running" && fail
    	fi
    
    	if ! ps -p $pid2 1>&2 >/dev/null; then
    		echo "minio server 2 is not running" && fail
    	fi
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Jul 12 20:51:54 GMT 2024
    - 4K bytes
    - Click Count (0)
  5. docs/distributed/decom-compressed-sse-s3.sh

    ./mc admin decom start myminio/ http://localhost:9000/tmp/xl/{1...10}/disk{0...1}
    
    until $(./mc admin decom status myminio/ | grep -q Complete); do
    	echo "waiting for decom to finish..."
    	sleep 1
    done
    
    kill $pid_1
    kill $pid_2
    
    sleep 5
    
    (minio server --address ":9001" http://localhost:9001/tmp/xl/{11...30}/disk{0...3} 2>&1 >/tmp/removed.log) &
    pid=$!
    
    export MC_HOST_myminio="http://minioadmin:minioadmin@localhost:9001/"
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon May 27 19:17:46 GMT 2024
    - 4.3K bytes
    - Click Count (0)
  6. docs/resiliency/resiliency-initial-script.sh

    # This script will not and should not be executed in the self hosted runner
    
    echo "script failed" >resiliency-initial.log # assume initial state
    
    echo "sleep to wait for MinIO Server to be ready prior mc commands"
    # https://github.com/minio/mc/issues/3599
    
    MINIO_SERVER_URL="http://127.0.0.1:9000"
    ALIAS_NAME=myminio
    BUCKET="test-bucket"
    SRC_DIR="/tmp/data"
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sat Dec 21 04:24:45 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java

            Thread.currentThread().interrupt();
          }
        }
      }
    
      // TODO(user): Support Sleeper somehow (wrapper or interface method)?
      /**
       * Invokes {@code unit.}{@link TimeUnit#sleep(long) sleep(sleepFor)} uninterruptibly.
       *
       * @since 33.4.0 (but since 28.0 in the JRE flavor)
       */
      @J2ktIncompatible
      @GwtIncompatible // concurrency
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 19.8K bytes
    - Click Count (0)
  8. helm/minio/templates/_helper_create_policy.txt

    {{- if .Values.configPathmc }}
    MC_CONFIG_DIR="{{ .Values.configPathmc }}"
    MC="/usr/bin/mc --insecure --config-dir ${MC_CONFIG_DIR}"
    {{- else }}
    MC="/usr/bin/mc --insecure"
    {{- end }}
    
    # connectToMinio
    # Use a check-sleep-check loop to wait for MinIO service to be available
    connectToMinio() {
      SCHEME=$1
      ATTEMPTS=0 ; LIMIT=29 ; # Allow 30 attempts
      set -e ; # fail if we can't read the keys.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Mar 21 06:38:06 GMT 2023
    - 2K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/WholeOperationTimeoutTest.kt

            .Builder()
            .url(server.url("/"))
            .build()
        val call = client.newCall(request)
        call.timeout().timeout(250, TimeUnit.MILLISECONDS)
        val response = call.execute()
        Thread.sleep(500)
        assertFailsWith<IOException> {
          response.body.source().readUtf8()
        }.also { expected ->
          assertThat(expected.message).isEqualTo("timeout")
          assertThat(call.isCanceled()).isTrue()
        }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Jun 18 12:28:21 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/CancelTest.kt

          it is ResponseFailed
    
      private fun sleep(delayMillis: Int) {
        try {
          Thread.sleep(delayMillis.toLong())
        } catch (e: InterruptedException) {
          Thread.currentThread().interrupt()
        }
      }
    
      private fun cancelLater(
        call: Call,
        delayMillis: Int,
      ): CountDownLatch {
        val latch = CountDownLatch(1)
        Thread {
          sleep(delayMillis)
          if (cancelMode == CANCEL) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 9.4K bytes
    - Click Count (0)
Back to Top