Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 251 for Runner (0.2 sec)

  1. cmd/kubeadm/app/cmd/phases/workflow/runner.go

    	// path of the phase in the workflow managed by the Runner.
    	generatedName string
    
    	// use is the phase usage string that will be printed in the workflow help.
    	// It corresponds to the relative path of the phase in the workflow managed by the Runner.
    	use string
    }
    
    // NewRunner return a new runner for composable kubeadm workflows.
    func NewRunner() *Runner {
    	return &Runner{
    		Phases: []Phase{},
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 21 05:35:15 UTC 2022
    - 16K bytes
    - Viewed (0)
  2. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/android/RealLifeAndroidBuildPerformanceTest.groovy

            if (isLargeProject) {
                runner.warmUpRuns = 2
                runner.runs = 8
            }
    
            testProject.configure(runner)
            runner.tasksToRun = tasks.split(' ')
            runner.args.add('-Dorg.gradle.parallel=true')
            runner.cleanTasks = ["clean"]
            runner.useDaemon = false
            runner.addBuildMutator { invocationSettings ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:24:57 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. pkg/util/iptables/iptables.go

    	if err != nil {
    		return err
    	}
    	if !exists {
    		return nil
    	}
    	out, err := runner.run(opDeleteRule, fullArgs)
    	if err != nil {
    		return fmt.Errorf("error deleting rule: %v: %s", err, out)
    	}
    	return nil
    }
    
    func (runner *runner) IsIPv6() bool {
    	return runner.protocol == ProtocolIPv6
    }
    
    func (runner *runner) Protocol() Protocol {
    	return runner.protocol
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 28.6K bytes
    - Viewed (0)
  4. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerPluginClasspathInjectionIntegrationTest.groovy

    import org.gradle.testkit.runner.fixtures.InspectsExecutedTasks
    import org.gradle.testkit.runner.fixtures.PluginUnderTest
    import org.gradle.util.GradleVersion
    import org.gradle.util.UsesNativeServices
    
    import static org.gradle.testkit.runner.TaskOutcome.SUCCESS
    import static org.hamcrest.CoreMatchers.anyOf
    import static org.hamcrest.CoreMatchers.containsString
    
    @InjectsPluginClasspath
    @InspectsBuildOutput
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 15 03:45:31 UTC 2024
    - 13K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/authoring-builds/other/test_kit.adoc

    After creating and configuring a runner instance, the build can be executed via the link:{javadocPath}/org/gradle/testkit/runner/GradleRunner.html#build--[GradleRunner.build()] or link:{javadocPath}/org/gradle/testkit/runner/GradleRunner.html#buildAndFail--[GradleRunner.buildAndFail()] methods depending on the anticipated outcome.
    
    The following demonstrates the usage of the Gradle runner in a Java JUnit test:
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 05:36:09 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTestKitIntegrationTest.groovy

            """
    
            when:
            def runner = GradleRunner.create()
            runner.withJvmArguments("-javaagent:${agentJar}")
            if (!GradleContextualExecuter.embedded) {
                runner.withGradleInstallation(buildContext.gradleHomeDir)
            }
            runner.withArguments("--configuration-cache")
            runner.forwardOutput()
            runner.withProjectDir(testDirectory)
            runner.withPluginClasspath([new File("some-dir")])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/cmd/phases/workflow/runner_test.go

    	var usecases = []struct {
    		name                string
    		runner              Runner
    		expectedCmdAndFlags map[string][]string
    		setAdditionalFlags  func(*pflag.FlagSet)
    	}{
    		{
    			name:   "when there are no phases, cmd should be left untouched",
    			runner: Runner{},
    		},
    		{
    			name: "phases should not inherits any parent flags by default",
    			runner: Runner{
    				Phases: []Phase{phaseBuilder4("foo", nil)},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 20 20:03:45 UTC 2023
    - 15.2K bytes
    - Viewed (0)
  8. platforms/extensibility/test-kit/src/test/groovy/org/gradle/testkit/runner/internal/DefaultGradleRunnerTest.groovy

            when:
            def runner = createRunner()
                .withProjectDir(workingDir)
                .withArguments(arguments)
    
            then:
            runner.projectDir == workingDir
            runner.arguments == arguments
            runner.pluginClasspath == []
            !runner.debug
            !runner.standardOutput
            !runner.standardError
            !runner.standardInput
            0 * testKitDirProvider.getDir()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  9. pkg/util/iptables/iptables_test.go

    				func(cmd string, args ...string) exec.Cmd { return fakeexec.InitFakeCmd(&fcmd, cmd, args...) },
    			},
    		}
    		ipt := New(fexec, ProtocolIPv4)
    		runner := ipt.(*runner)
    		if testCase.Expected != runner.hasCheck {
    			t.Errorf("Expected result: %v, Got result: %v", testCase.Expected, runner.hasCheck)
    		}
    	}
    }
    
    func TestIPTablesCommands(t *testing.T) {
    	testCases := []struct {
    		funcName    string
    		protocol    Protocol
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 08 15:21:59 UTC 2023
    - 46.3K bytes
    - Viewed (0)
  10. pkg/util/async/bounded_frequency_runner_test.go

    }
    
    func Test_BoundedFrequencyRunnerNoBurst(t *testing.T) {
    	obj := &receiver{}
    	timer := newFakeTimer()
    	runner := construct("test-runner", obj.F, minInterval, maxInterval, 1, timer)
    	stop := make(chan struct{})
    
    	var upd timerUpdate
    
    	// Start.
    	go runner.Loop(stop)
    	upd = <-timer.updated // wait for initial time to be set to max
    	checkTimer("init", t, upd, true, maxInterval)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 15 09:36:26 UTC 2022
    - 12.5K bytes
    - Viewed (0)
Back to top