Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for killDaemonOnly (0.21 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/AbstractDaemonFixture.groovy

        protected abstract void assertHasState(State state)
    
        @Override
        void kill() {
            new ProcessFixture(context.pid).kill(true)
        }
    
        @Override
        void killDaemonOnly() {
            new ProcessFixture(context.pid).kill(false)
        }
    
        @Override
        String toString() {
            "Daemon with context $context"
        }
    
        @Override
        String getLog() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 15:22:16 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/DaemonFixture.java

        int getPort();
    
        /**
         * Forcefully kills this daemon and all child processes.
         */
        void kill();
    
        /**
         * Forcefully kills this daemon, but not child processes.
         */
        void killDaemonOnly();
    
        /**
         * Changes the authentication token for this daemon in the registry, so that client will see a different token to that expected by this daemon
         */
        void changeTokenVisibleToClient();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerDaemonLifecycleTest.groovy

            and:
            def daemonProcess = new ProcessFixture(daemons.daemon.context.pid)
            def children = daemonProcess.getChildProcesses()
            // Sends a kill -9 to the daemon process only
            daemons.daemon.killDaemonOnly()
    
            then:
            children.length == 0
    
            cleanup:
            // In the event this fails, clean up any orphaned children
            children.each { child ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 6.4K bytes
    - Viewed (0)
Back to top