Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 724 for sleeps (0.05 seconds)

  1. guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

        assertEquals(1, service.numIterations.get());
        service.stopAsync();
        service.secondBarrier.await();
        service.awaitTerminated();
        // Sleep for a while just to ensure that our task wasn't called again.
        Thread.sleep(UNIT.toMillis(3 * DELAY));
        assertEquals(1, service.numIterations.get());
      }
    
      public void testCustomScheduler_deadlock() throws InterruptedException, BrokenBarrierException {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 22.8K bytes
    - Click Count (0)
  2. .github/workflows/run-mint.sh

    ## change working directory
    cd .github/workflows/mint
    
    ## always pull latest
    docker pull docker.io/minio/mint:edge
    
    docker-compose -f minio-${MODE}.yaml up -d
    sleep 1m
    
    docker system prune -f || true
    docker volume prune -f || true
    docker volume rm $(docker volume ls -q -f dangling=true) || true
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Jan 20 14:49:07 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  3. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                    }
                    Thread.sleep(50);
                }
                assertEquals(CrawlerStatus.RUNNING, crawler1.crawlerContext.getStatus());
                for (int i = 0; i < 100; i++) {
                    if (crawler2.crawlerContext.getStatus() == CrawlerStatus.RUNNING) {
                        break;
                    }
                    Thread.sleep(50);
                }
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Jan 15 01:11:43 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  4. scripts/playwright/json_base64_bytes/image01.py

    )
    try:
        for _ in range(3):
            try:
                response = httpx.get("http://localhost:8000/docs")
            except httpx.ConnectError:
                time.sleep(1)
                break
        with sync_playwright() as playwright:
            run(playwright)
    finally:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 21 13:01:31 GMT 2026
    - 1.1K bytes
    - Click Count (0)
  5. docs/distributed/decom-encrypted-kes.sh

    until $(./mc admin decom status myminio/ | grep -q Complete); do
    	echo "waiting for decom to finish..."
    	sleep 1s
    done
    
    kill $pid_1
    kill $pid_2
    
    sleep 5s
    
    (minio server --address ":9001" http://localhost:9001/tmp/xl/{11...30}/disk{0...3} 2>&1 >/tmp/removed.log) &
    pid=$!
    
    sleep 30s
    
    export MC_HOST_myminio="http://minioadmin:minioadmin@localhost:9001/"
    
    ./mc ready myminio
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon May 27 19:17:46 GMT 2024
    - 7.1K bytes
    - Click Count (1)
  6. internal/logger/help.go

    			Description: `maximum retry count before we start dropping logged event(s)`,
    			Optional:    true,
    			Type:        "number",
    		},
    		config.HelpKV{
    			Key:         RetryInterval,
    			Description: `sleep between each retries, allowed maximum value is '1m' e.g. '10s'`,
    			Optional:    true,
    			Type:        "duration",
    		},
    		config.HelpKV{
    			Key:         httpTimeout,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Sep 11 22:20:42 GMT 2024
    - 7.4K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt

            .build(),
        )
        val webSocket: WebSocket = newWebSocket()
        clientListener.assertOpen()
        val server = serverListener.assertOpen()
    
        // Sleep longer than the HTTP client's read timeout.
        Thread.sleep((client.readTimeoutMillis + 500).toLong())
        server.send("abc")
        clientListener.assertTextMessage("abc")
        closeWebSockets(webSocket, server)
      }
    
      @Test
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 35.5K bytes
    - Click Count (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/MockSocketHandler.kt

          responseSent.countDown()
        }
      }
    
      fun exhaustResponse() =
        apply {
          actions += { stream -> stream.sink.close() }
        }
    
      fun sleep(
        duration: Long,
        unit: TimeUnit,
      ) = apply {
        actions += { Thread.sleep(unit.toMillis(duration)) }
      }
    
      override fun handle(socket: Socket) {
        val task = serviceSocketTask(socket.asBufferedSocket())
        results.add(task)
        task.run()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  9. api/next/77169.txt

    pkg testing/synctest, func Sleep(time.Duration) #77169...
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Feb 02 22:43:36 GMT 2026
    - 55 bytes
    - Click Count (0)
  10. src/test/java/jcifs/util/ResourceManagerTest.java

            // Create resource that will be garbage collected without closing
            createLeakyResource();
    
            // Force garbage collection
            System.gc();
            Thread.sleep(200);
    
            // Check for leaks
            resourceManager.checkForLeaks();
    
            Map<String, Object> stats = resourceManager.getStatistics();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 8.9K bytes
    - Click Count (0)
Back to Top