Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 12 for runTask (0.07 seconds)

  1. build-tools-internal/src/main/groovy/elasticsearch.run.gradle

     */
    
    import org.elasticsearch.gradle.VersionProperties
    import org.elasticsearch.gradle.testclusters.RunTask
    
    // gradle has an open issue of failing applying plugins in
    // precompiled script plugins (see https://github.com/gradle/gradle/issues/17004)
    // apply plugin: 'elasticsearch.internal-testclusters'
    
    testClusters.register("runTask") {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 23 07:45:59 GMT 2021
    - 1.8K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/test/AntFixture.groovy

        @Internal
        int maxWaitInSeconds = 30
    
        /**
         * A flag to indicate whether the fixture should be run in the foreground, or spawned.
         * It is protected so subclasses can override (eg RunTask).
         */
        protected boolean spawn = true
    
        /**
         * A closure to call before the fixture is considered ready. The closure is passed the fixture object,
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 10.1K bytes
    - Click Count (0)
  3. CONTRIBUTING.md

    specifically these lines tell you that Elasticsearch is ready:
    
        [2020-05-29T14:50:35,167][INFO ][o.e.h.AbstractHttpServerTransport] [runTask-0] publish_address {127.0.0.1:9200}, bound_addresses {[::1]:9200}, {127.0.0.1:9200}
        [2020-05-29T14:50:35,169][INFO ][o.e.n.Node               ] [runTask-0] started
    
    But to be honest its typically easier to wait until the console stops scrolling
    and then run `curl` in another window like this:
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 07:32:01 GMT 2021
    - 36.5K bytes
    - Click Count (0)
  4. okhttp/src/androidMain/baseline-prof.txt

    HSPLokhttp3/internal/concurrent/TaskRunner;-><clinit>()V
    HSPLokhttp3/internal/concurrent/TaskRunner;-><init>(Lokhttp3/internal/concurrent/TaskRunner$Backend;Ljava/util/logging/Logger;I)V
    HSPLokhttp3/internal/concurrent/TaskRunner;->access$runTask(Lokhttp3/internal/concurrent/TaskRunner;Lokhttp3/internal/concurrent/Task;)V
    HSPLokhttp3/internal/concurrent/TaskRunner;->afterRun(Lokhttp3/internal/concurrent/Task;J)V
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Dec 30 23:28:56 GMT 2024
    - 127.9K bytes
    - Click Count (1)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt

        taskFaker.runTasks()
        client.listener.assertFailure(IOException::class.java, "source is closed")
        assertThat(client.webSocket!!.send("Hello!")).isFalse()
      }
    
      @Test
      fun socketClosedDuringMessageKillsWebSocket() {
        server.source.close()
        assertThat(client.webSocket!!.send("Hello!")).isTrue()
        taskFaker.runTasks()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 18.7K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinderTest.kt

        plan0.connectState = TLS_CONNECTED
    
        taskRunner.newQueue().execute("connect") {
          val result0 = finder.find()
          assertThat(result0).isEqualTo(plan0.connection)
        }
    
        taskFaker.runTasks()
        assertEvents(
          "take plan 0",
        )
    
        taskFaker.assertNoMoreTasks()
      }
    
      @Test
      fun takeConnectingConnection() {
        val plan0 = routePlanner.addPlan()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 20.9K bytes
    - Click Count (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

     * deterministic.
     *
     * This class ensures that at most one thread is running at a time. This is initially the JUnit test
     * thread, which yields its execution privilege while calling [runTasks], [runNextTask], or
     * [advanceUntil]. These functions don't return until the task threads are all idle.
     *
     * Task threads release their execution privilege in these ways:
     *
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed May 28 23:28:25 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/AutobahnTester.kt

        }
      }
    
      private fun runTest(
        number: Long,
        count: Long,
      ) {
        val latch = CountDownLatch(1)
        val startNanos = AtomicLong()
        newWebSocket(
          "/runCase?case=$number&agent=okhttp",
          object : WebSocketListener() {
            override fun onOpen(
              webSocket: WebSocket,
              response: Response,
            ) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  9. .ci/scripts/packaging-test.ps1

    {
        # Relaunch as an elevated process:
        Start-Process powershell.exe "-File",('"{0}"' -f $MyInvocation.MyCommand.Path) -Verb RunAs
        exit
    }
    
    $AppProps = ConvertFrom-StringData (Get-Content .ci/java-versions.properties -raw)
    $env:ES_BUILD_JAVA=$AppProps.ES_BUILD_JAVA
    $env:ES_RUNTIME_JAVA=$AppProps.ES_RUNTIME_JAVA
    $env:JAVA_TOOL_OPTIONS=''
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 15 22:00:26 GMT 2021
    - 1.3K bytes
    - Click Count (0)
  10. .ci/os.ps1

    {
        # Relaunch as an elevated process:
        Start-Process powershell.exe "-File",('"{0}"' -f $MyInvocation.MyCommand.Path) -Verb RunAs
        exit
    }
    
    $AppProps = ConvertFrom-StringData (Get-Content .ci/java-versions.properties -raw)
    $env:ES_BUILD_JAVA=$AppProps.ES_BUILD_JAVA
    $env:ES_RUNTIME_JAVA=$AppProps.ES_RUNTIME_JAVA
    
    $ErrorActionPreference="Stop"
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Jul 08 20:49:46 GMT 2020
    - 1.3K bytes
    - Click Count (0)
Back to Top