Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 88 for asset1 (0.16 sec)

  1. pilot/pkg/bootstrap/server_test.go

    	}()
    	t.Run("h1", func(t *testing.T) {
    		c := http.Client{}
    		defer c.CloseIdleConnections()
    		resp, err := c.Get("http://" + s.httpAddr + "/validate")
    		assert.NoError(t, err)
    		// Validate returns 400 on no body; if we got this the request works
    		assert.Equal(t, resp.StatusCode, 400)
    		resp.Body.Close()
    	})
    	t.Run("h2", func(t *testing.T) {
    		c := http.Client{
    			Transport: &http2.Transport{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/Helpers.java

     */
    
    package com.google.common.collect.testing;
    
    import static java.util.Collections.sort;
    import static junit.framework.Assert.assertEquals;
    import static junit.framework.Assert.assertFalse;
    import static junit.framework.Assert.assertTrue;
    import static junit.framework.Assert.fail;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

        }
    
        /**
         * Asserts that the expected completion time has passed (and not "too much" time beyond that).
         */
        void assertCompletionExpected() {
          assertAtLeastTimePassed(stopwatch, expectedCompletionWaitMillis);
          assertTimeNotPassed(stopwatch, expectedCompletionWaitMillis + LONG_DELAY_MS);
        }
    
        /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 16:06:39 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  4. pkg/kube/kclient/client_test.go

    		wt := clienttest.NewWriter[*istioclient.WasmPlugin](t, c)
    		tracker := assert.NewTracker[string](t)
    		wasm.AddEventHandler(clienttest.TrackerHandler(tracker))
    		go constantlyAccessForRaceDetection(stop, wasm)
    
    		assert.Equal(t, wasm.HasSynced(), false)
    
    		// List should return empty
    		assert.Equal(t, len(wasm.List("", klabels.Everything())), 0)
    
    		// Now we add the CRD
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 15:12:54 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  5. cni/pkg/log/uds_test.go

    	// Ideally we would fail if the UDS part fails but the error library makes it kind of tricky
    	_ = istiolog.Sync()
    
    	// Restore os stdout.
    	os.Stdout = stdout
    	assert.NoError(t, istiolog.Configure(loggingOptions))
    
    	assert.NoError(t, w.Close())
    	out, err := io.ReadAll(r)
    	assert.NoError(t, err)
    
    	cases := []struct {
    		level string
    		msg   string
    		key   *float64
    	}{
    		{"debug", "debug log", nil},
    		{"info", "info log", nil},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:28 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. pkg/ctrlz/ctrlz.go

    package ctrlz
    
    import (
    	"fmt"
    	"html/template"
    	"net"
    	"net/http"
    	"net/http/pprof"
    	"os"
    	"strings"
    	"sync"
    	"time"
    
    	"github.com/gorilla/mux"
    
    	"istio.io/istio/pkg/ctrlz/assets"
    	"istio.io/istio/pkg/ctrlz/fw"
    	"istio.io/istio/pkg/ctrlz/topics"
    	"istio.io/istio/pkg/log"
    )
    
    var coreTopics = []fw.Topic{
    	topics.ScopeTopic(),
    	topics.MemTopic(),
    	topics.EnvTopic(),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 21:22:53 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r89/ToolingApiPolymorphismCrossVersionTest.groovy

        }
    
        private static void assertModelIsPolymorphic(Object model) {
            assert model != null
    
            assert model instanceof BaseModel
    
            assert model instanceof ShallowChildModel
            assert ((ShallowChildModel) model).getShallowMessage() == "shallow poly from 'root'"
    
            assert model instanceof DeepChildModel
            assert ((DeepChildModel) model).getDeepMessage() == "deep poly from 'root'"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 11:03:18 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/listenertest/match.go

    		return fmt.Sprintf("%v/%v: %v", have.Name, haveType, s)
    	}
    	if want.Name != "" {
    		assert.Equal(t, want.Name, have.Name, context("name should be equal"))
    	}
    	if want.Type != "" {
    		assert.Equal(t, want.Type, haveType, context(fmt.Sprintf("type should be equal (%+v)", have.FilterChainMatch)))
    	}
    	if want.Port != 0 {
    		assert.Equal(t, want.Port, have.GetFilterChainMatch().GetDestinationPort().GetValue(), context("port should be equal"))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. pkg/kubelet/kuberuntime/kuberuntime_manager_test.go

    	assert.NoError(t, result.Error())
    	assert.Equal(t, 2, len(fakeRuntime.Containers))
    	assert.Equal(t, 2, len(fakeImage.Images))
    	assert.Equal(t, 1, len(fakeRuntime.Sandboxes))
    	for _, sandbox := range fakeRuntime.Sandboxes {
    		assert.Equal(t, runtimeapi.PodSandboxState_SANDBOX_READY, sandbox.State)
    	}
    	for _, c := range fakeRuntime.Containers {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 96K bytes
    - Viewed (0)
  10. testing/distributions-integ-tests/src/integTest/groovy/org/gradle/DistributionIntegrationSpec.groovy

                def apiDeclaration = GUtil.loadProperties(IOUtils.toInputStream(content("gradle-api-declaration.properties"), StandardCharsets.UTF_8))
                assert apiDeclaration.size() == 2
                assert apiDeclaration.getProperty("includes").contains(":org/gradle/api/**:")
                assert apiDeclaration.getProperty("excludes").split(":").size() == 1
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:14 UTC 2024
    - 10.5K bytes
    - Viewed (0)
Back to top