Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for changeTokenVisibleToClient (0.3 sec)

  1. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonAuthenticationIntegrationSpec.groovy

            when:
            buildSucceeds()
            def daemon = daemons.daemon
            daemon.assertIdle()
    
            then:
            daemon.assertRegistryNotWorldReadable()
    
            when:
            daemon.changeTokenVisibleToClient()
            fails()
    
            then:
            failure.assertHasDescription("Unexpected authentication token in command")
            daemon.log.contains("Unexpected authentication token in command")
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/LegacyDaemon.groovy

    Current state is ${lastLogState}.""")
        }
    
        @Override
        protected void assertHasState(State state) {
            assert logFileProbe.currentState == state
        }
    
        @Override
        void changeTokenVisibleToClient() {
            throw new UnsupportedOperationException()
        }
    
        @Override
        void assertRegistryNotWorldReadable() {
            throw new UnsupportedOperationException()
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 15:22:16 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/TestableDaemon.groovy

            assert registryProbe.currentState == state
        }
    
        @Override
        void assertRegistryNotWorldReadable() {
            registryProbe.assertRegistryNotWorldReadable()
        }
    
        @Override
        void changeTokenVisibleToClient() {
            registryProbe.resetToken()
        }
    
        @Override
        int getPort() {
            Pattern pattern = Pattern.compile("^.*" + DaemonMessages.ADVERTISING_DAEMON + ".*port:(\\d+).*",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 15:22:16 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/DaemonFixture.java

         */
        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();
    
        void assertRegistryNotWorldReadable();
    
        /**
         * Asserts that this daemon becomes idle within a short timeout. Blocks until this has happened.
         */
        DaemonFixture becomesIdle();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top