Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 323 for wait (0.15 sec)

  1. istioctl/pkg/wait/wait.go

      istioctl experimental wait --for=distribution virtualservice bookinfo.default
    
      # Wait until the bookinfo virtual service has been distributed to a specific proxy
      istioctl experimental wait --for=distribution virtualservice bookinfo.default --proxy workload-instance.namespace
    
      # Wait until 99% of the proxies receive the distribution, timing out after 5 minutes
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Feb 17 12:24:17 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  2. istioctl/pkg/wait/wait_test.go

    // 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 wait
    
    import (
    	"bytes"
    	"context"
    	"encoding/json"
    	"fmt"
    	"strings"
    	"testing"
    
    	"github.com/spf13/cobra"
    	"k8s.io/apimachinery/pkg/api/meta"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Mar 15 08:28:50 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

            executor.execute(wrapper);
          }
          barrier.await(); // release the threads!
          barrier.await(); // wait for them all to complete
          assertEquals(1, task.get().intValue());
          assertEquals(1, counter.get());
        }
        executor.shutdown();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // blocking wait
      public void testToString() throws Exception {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

            executor.execute(wrapper);
          }
          barrier.await(); // release the threads!
          barrier.await(); // wait for them all to complete
          assertEquals(1, task.get().intValue());
          assertEquals(1, counter.get());
        }
        executor.shutdown();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // blocking wait
      public void testToString() throws Exception {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/informers_test.go

    			constants.DataplaneMode, constants.DataplaneModeAmbient)), metav1.PatchOptions{})
    	assert.NoError(t, err)
    
    	// wait for an update event
    	mt.Assert(EventTotals.Name(), map[string]string{"type": "update"}, monitortest.AtLeast(2))
    
    	// wait for the pod to be annotated
    	// after Pod annotated, another update event will be triggered.
    	assertPodAnnotated(t, client, pod)
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Feb 08 01:03:24 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  6. cmd/notification.go

    	if g != nil {
    		g.retryCount = retryCount
    	}
    	return g
    }
    
    // Wait blocks until all function calls from the Go method have returned, then
    // returns the slice of errors from all function calls.
    func (g *NotificationGroup) Wait() []NotificationPeerErr {
    	g.workers.Wait()
    	return g.errs
    }
    
    // Go calls the given function in a new goroutine.
    //
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
  7. cmd/peer-s3-server.go

    					return serr
    				}
    
    				beforeState[index] = madmin.DriveStateMissing
    				afterState[index] = madmin.DriveStateMissing
    
    				return serr
    			}
    			return nil
    		}, index)
    	}
    
    	errs := g.Wait()
    
    	// Initialize heal result info
    	res = madmin.HealResultItem{
    		Type:      madmin.HealItemBucket,
    		Bucket:    bucket,
    		DiskCount: len(localDrives),
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Mar 08 19:08:18 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  8. .github/workflows/multipart/migrate.sh

    max_wait_attempts=30
    wait_interval=5
    
    attempt=1
    while true; do
    	diff <(./mc admin group info site1 site-replication-issue-group) <(./mc admin group info site2 site-replication-issue-group)
    
    	if [[ $? -eq 0 ]]; then
    		echo "Outputs are consistent."
    		break
    	fi
    
    	remaining_attempts=$((max_wait_attempts - attempt))
    	if ((attempt >= max_wait_attempts)); then
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 24 15:54:24 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  9. cmd/mrf.go

    				}
    			}
    
    			now := time.Now()
    			if now.Sub(u.queued) < time.Second {
    				// let recently failed networks to reconnect
    				// making MRF wait for 1s before retrying,
    				// i.e 4 reconnect attempts.
    				time.Sleep(time.Second)
    			}
    
    			// wait on timer per heal
    			wait := healSleeper.Timer(context.Background())
    
    			scan := madmin.HealNormalScan
    			if u.scanMode != 0 {
    				scan = u.scanMode
    			}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  10. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

      StatusPtr first_bad_status(nullptr);
    
      for (const auto& dt : device_threads_) {
        StatusPtr async_wait_status(TF_NewStatus());
        dt->AsyncWait(async_wait_status.get());
        // Prefer non cancelled errors to uncover real failures.
        if (TF_GetCode(async_wait_status.get()) != TF_OK &&
            (first_bad_status == nullptr ||
             TF_GetCode(first_bad_status.get()) == TF_CANCELLED)) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Feb 09 07:47:20 GMT 2024
    - 25.4K bytes
    - Viewed (1)
Back to top