Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for failAfter (0.05 sec)

  1. istioctl/pkg/multicluster/remote_secret_test.go

    	}
    	return out
    }
    
    type fakeOutputWriter struct {
    	b           bytes.Buffer
    	injectError error
    	failAfter   int
    }
    
    func (w *fakeOutputWriter) Write(p []byte) (n int, err error) {
    	w.failAfter--
    	if w.failAfter <= 0 && w.injectError != nil {
    		return 0, w.injectError
    	}
    	return w.b.Write(p)
    }
    func (w *fakeOutputWriter) String() string { return w.b.String() }
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

       * even permanently blocked.
       */
      public void testListenerDeadlock() throws InterruptedException {
        final CountDownLatch failEnter = new CountDownLatch(1);
        final CountDownLatch failLeave = new CountDownLatch(1);
        final CountDownLatch afterStarted = new CountDownLatch(1);
        Service failRunService =
            new AbstractService() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 25.5K bytes
    - Viewed (0)
Back to top