Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,742 for _top (0.09 sec)

  1. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/processors/RestartEveryNTestClassProcessorTest.groovy

            then:
            1 * delegate.processTestClass(test2)
            then:
            1 * delegate.stop()
            0 * _._
        }
    
        def "stopNow does nothing after stop completed"() {
            when:
            processor.startProcessing(resultProcessor)
            processor.processTestClass(test1)
            processor.stop()
    
            then:
            1 * factory.create() >> delegate
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/DaemonStopClient.java

            //iterate and stop all daemons
            int numStopped = 0;
            while (connection != null && !timer.hasExpired()) {
                try {
                    seen.add(connection.getDaemon().getUid());
                    LOGGER.debug("Requesting daemon {} stop now", connection.getDaemon());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  3. pkg/revisions/default_watcher_test.go

    	}
    }
    
    func TestNoDefaultRevision(t *testing.T) {
    	stop := make(chan struct{})
    	client := kube.NewFakeClient()
    	w := NewDefaultWatcher(client, "default")
    	client.RunAndWait(stop)
    	go w.Run(stop)
    	// if have no default tag for some reason, should return ""
    	expectRevision(t, w, "")
    	close(stop)
    }
    
    func TestDefaultRevisionChanges(t *testing.T) {
    	stop := test.NewStop(t)
    	client := kube.NewFakeClient()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 23 17:46:59 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  4. pkg/test/framework/components/echo/util/traffic/generator.go

    			}
    		}
    	}()
    	return g
    }
    
    func (g *generator) Stop() Result {
    	// Trigger the generator to stop.
    	close(g.stop)
    
    	// Wait for the generator to exit.
    	t := time.NewTimer(g.StopTimeout)
    	select {
    	case <-g.stopped:
    		t.Stop()
    		if g.result.TotalRequests == 0 {
    			g.t.Fatal("no requests completed before stopping the traffic generator")
    		}
    		return g.result
    	case <-t.C:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 12 22:50:35 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  5. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/dispatch/AsyncDispatchTest.groovy

                parallel.syncAt(3)
            }
    
            dispatch.stop()
    
            then:
            target1.receivedMessages == ['message1', 'message3']
            target2.receivedMessages == ['message2']
        }
    
        def 'can stop from multiple threads'() {
            when:
            dispatch.dispatchTo(target1)
    
            parallel.start {
                dispatch.stop()
            }
            parallel.start {
                dispatch.stop()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  6. pkg/kube/multicluster/cluster.go

    		if !kube.WaitForCacheSync("cluster"+string(c.ID), c.stop, h.HasSynced) {
    			log.Warnf("remote cluster %s failed to sync handler", c.ID)
    			return
    		}
    	}
    
    	c.initialSync.Store(true)
    }
    
    // Stop closes the stop channel, if is safe to be called multi times.
    func (c *Cluster) Stop() {
    	select {
    	case <-c.stop:
    		return
    	default:
    		close(c.stop)
    	}
    }
    
    func (c *Cluster) HasSynced() bool {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 06 02:13:10 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/watch/watch.go

    	//
    	// Only the consumer should call Stop(), not the producer. If the producer
    	// errors and needs to stop the watch prematurely, it should instead send
    	// an error event and close the result channel.
    	Stop()
    
    	// ResultChan returns a channel which will receive events from the event
    	// producer. If an error occurs or Stop() is called, the producer must
    	// close this channel and release any resources used by the watch.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 20:06:22 UTC 2024
    - 8.1K bytes
    - Viewed (1)
  8. src/main/resources/fess_indices/fess.json

            },
            "japanese_stop": {
              "type":       "stop",
              "stopwords_path": "${fess.dictionary.path}ja/stopwords.txt"
            },
            "korean_stop": {
              "type":       "stop",
              "stopwords_path": "${fess.dictionary.path}ko/stopwords.txt"
            },
            "latvian_stop": {
              "type":       "stop",
              "stopwords_path": "${fess.dictionary.path}lv/stopwords.txt"
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Aug 11 01:26:55 UTC 2022
    - 39.9K bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/client/DaemonStopClientTest.groovy

            1 * connection.receive() >> new Success(null)
            1 * connection.dispatch({it instanceof Finished})
            1 * connection.stop()
            1 * connection2.dispatch({it instanceof Stop})
            1 * connection2.receive() >> new Success(null)
            1 * connection2.dispatch({it instanceof Finished})
            1 * connection2.stop()
            0 * _
        }
    
        def "stops each connection at most once"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  10. pilot/pkg/bootstrap/configcontroller.go

    					// Note: stop here should be the overall pilot stop, NOT the leader election stop. We are
    					// basically lazy loading the informer, if we stop it when we lose the lock we will never
    					// recreate it again.
    					s.kubeClient.RunAndWait(stop)
    					log.Infof("Starting ingress controller")
    					ingressSyncer.Run(leaderStop)
    				}).
    				Run(stop)
    			return nil
    		})
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top