Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 236 for isIsolated (0.13 sec)

  1. pkg/test/framework/components/cluster/kube/cluster.go

    // for a single suite. This practice is discouraged, and separate test jobs should be created
    // on a per-topology bassis.
    // TODO remove this when centralistiod test is isolated as it's own job
    func (c *Cluster) OverrideTopology(fn func(cluster.Topology) cluster.Topology) {
    	c.Topology = fn(c.Topology)
    }
    
    func (c *Cluster) String() string {
    	buf := &bytes.Buffer{}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 17 22:54:10 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  2. platforms/jvm/language-jvm/src/main/java/org/gradle/api/internal/tasks/compile/daemon/AbstractIsolatedCompilerWorkerExecutor.java

    import javax.inject.Inject;
    
    /**
     * Base implementation of {@link CompilerWorkerExecutor} which handles submitting a compile work item to execute.
     * Inheritors need to provide an appropriate isolated worker requirement depending on what isolation mode is being used.
     */
    abstract public class AbstractIsolatedCompilerWorkerExecutor implements CompilerWorkerExecutor {
        private final WorkerFactory workerFactory;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 19 13:37:02 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  3. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorServicesIntegrationTest.groovy

            where:
            [forbiddenType, isolationMode] << [[
                Project, // Not isolated
                ProjectLayout, // Not isolated
                Instantiator, // internal
            ], ISOLATION_MODES].combinations()
        }
    
        def withTestMainParametersAndServices() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  4. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorIntegrationTest.groovy

        }
    
        @Issue("https://github.com/gradle/gradle/issues/10411")
        @Requires(value = IntegTestPreconditions.NotEmbeddedExecutor, reason = "This test requires isolated daemons")
        def "does not leak project state across multiple builds"() {
            fixture.withWorkActionClassInBuildSrc()
            executer.withBuildJvmOpts('-Xms256m', '-Xmx512m').requireIsolatedDaemons().requireDaemon()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:00:39 UTC 2024
    - 31K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiGradleLifecycleIntegrationTest.groovy

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.cc.impl.isolated
    
    
    class IsolatedProjectsToolingApiGradleLifecycleIntegrationTest extends AbstractIsolatedProjectsToolingApiIntegrationTest {
    
        def setup() {
            settingsFile << """
                rootProject.name = 'root'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/projectmodule/DefaultLocalComponentRegistry.java

                // TODO: We should relax this check. For legacy reasons we are not tracking cross-build project
                // dependencies, but we should be. Removing this condition breaks some Isolated Projects tests,
                // so we need to investigate why they are failing and then remove this condition.
                // Specifically, the following test breaks when we remove this check:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 31 17:59:41 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/concurrent/DefaultAsyncIOScopeFactoryTest.kt

                assertThat(
                    awaitExceptionFrom(scope),
                    sameInstance<Throwable>(expectedFailure)
                )
            }
        }
    
        @Test
        fun `IOScope failures are isolated`() {
    
            withAsyncIOScopeFactory {
    
                // given: a failure in one scope
                val failedScope = newScope().apply {
                    io { throw IllegalStateException() }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiInvocationValidationIntegrationTest.groovy

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.cc.impl.isolated
    
    class IsolatedProjectsToolingApiInvocationValidationIntegrationTest extends AbstractIsolatedProjectsToolingApiIntegrationTest {
        def "reports cross project access from build script when fetching custom tooling model"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheKeyTest.kt

                    isOffline = false
                },
                equalTo(cacheKeyStringFromStartParameter { })
            )
        }
    
        @Test
        fun `cache key honours isolated projects option`() {
            assertThat(
                cacheKeyStringFromStartParameter {
                    isolatedProjects = Option.Value.value(true)
                },
                equalTo(cacheKeyStringFromStartParameter {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiStreamingBuildActionIntegrationTest.groovy

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.cc.impl.isolated
    
    import org.gradle.internal.cc.impl.fixtures.CustomModel
    import org.gradle.tooling.StreamedValueListener
    import org.gradle.tooling.model.GradleProject
    import org.gradle.tooling.model.eclipse.EclipseProject
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top