Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for fastTest (0.23 sec)

  1. platforms/core-runtime/stdlib-java-extensions/src/test/groovy/org/gradle/internal/CastTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal
    
    import spock.lang.Specification
    
    import static Cast.cast
    
    class CastTest extends Specification {
    
        def "casting"() {
            given:
            def arg = "1"
    
            when:
            cast(Integer, arg)
    
            then:
            def e = thrown(ClassCastException)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. internal/config/scanner/scanner.go

    			if err = lookupDeprecatedScannerConfig(kvs, &cfg); err != nil {
    				return cfg, err
    			}
    		}
    	}
    
    	switch speed := env.Get(EnvSpeed, kvs.GetWithDefault(Speed, DefaultKVS)); speed {
    	case "fastest":
    		cfg.Delay, cfg.MaxWait, cfg.Cycle = 0, 0, time.Second
    	case "fast":
    		cfg.Delay, cfg.MaxWait, cfg.Cycle = 1, 100*time.Millisecond, time.Minute
    	case "default":
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. tests/integration/pilot/cni/cniversionskew_test.go

    )
    
    // Currently only test CNI with one version behind.
    var versions = []string{NMinusOne}
    
    // TestCNIVersionSkew runs all traffic tests with older versions of CNI and lastest Istio.
    // This is to simulate the case where CNI and Istio control plane versions are out of sync during upgrade.
    func TestCNIVersionSkew(t *testing.T) {
    	framework.
    		NewTest(t).
    		Run(func(t framework.TestContext) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 22:56:37 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. src/testing/fstest/testfs_test.go

    // Copyright 2021 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package fstest
    
    import (
    	"errors"
    	"internal/testenv"
    	"io/fs"
    	"os"
    	"path/filepath"
    	"slices"
    	"strings"
    	"testing"
    )
    
    func TestSymlink(t *testing.T) {
    	testenv.MustHaveSymlink(t)
    
    	tmp := t.TempDir()
    	tmpfs := os.DirFS(tmp)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. pkg/test/framework/components/istio/kube.go

    		return err
    	}
    
    	if c.IsConfig() {
    		// this is a traditional primary cluster, install the eastwest gateway
    
    		// there are a few tests that require special gateway setup which will cause eastwest gateway fail to start
    		// exclude these tests from installing eastwest gw for now
    		if !i.cfg.DeployEastWestGW {
    			return nil
    		}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  6. src/testing/fstest/testfs.go

    // Copyright 2020 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package fstest implements support for testing implementations and users of file systems.
    package fstest
    
    import (
    	"errors"
    	"fmt"
    	"io"
    	"io/fs"
    	"path"
    	"reflect"
    	"slices"
    	"strings"
    	"testing/iotest"
    )
    
    // TestFS tests a file system implementation.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  7. docs/distributed/decom.sh

    pkill minio
    rm -rf /tmp/xl
    rm -rf /tmp/xltier
    
    if [ ! -f ./mc ]; then
    	wget --quiet -O mc https://dl.minio.io/client/mc/release/linux-amd64/mc &&
    		chmod +x mc
    fi
    
    export CI=true
    export MINIO_SCANNER_SPEED=fastest
    
    (minio server http://localhost:9000/tmp/xl/{1...10}/disk{0...1} 2>&1 >/tmp/decom.log) &
    pid=$!
    
    export MC_HOST_myminio="http://minioadmin:minioadmin@localhost:9000/"
    
    ./mc ready myminio
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. tests/integration/ambient/cnirepair/main_test.go

    		Setup(func(t resource.Context) error {
    			t.Settings().Ambient = true
    			return nil
    		}).
    		Setup(istio.Setup(&i, func(ctx resource.Context, cfg *istio.Config) {
    			// can't deploy VMs without eastwest gateway
    			ctx.Settings().SkipVMs()
    			cfg.EnableCNI = true
    			cfg.DeployEastWestGW = false
    			cfg.ControlPlaneValues = `
    values:
      cni:
        repair:
          enabled: true
      ztunnel:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Jun 09 09:12:45 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. cmd/batch-expire.go

    //         greaterThan: 1MiB # match objects with size greater than this value (e.g. 1MiB)
    //       purge:
    //           # retainVersions: 0 # (default) delete all versions of the object. This option is the fastest.
    //           # retainVersions: 5 # keep the latest 5 versions of the object.
    //
    //     - type: deleted # objects with delete marker as their latest version
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 13:50:53 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

        List<Class<?>> result = Lists.newArrayList();
        NEXT_CANDIDATE:
        for (Class<?> candidate : Iterables.filter(candidateClasses, classFilter)) {
          for (Class<?> testClass : testClasses.get(candidate)) {
            if (hasTest(testClass, explicitTestNames)) {
              // covered by explicit test
              continue NEXT_CANDIDATE;
            }
          }
          result.add(candidate);
        }
        return result;
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 17.4K bytes
    - Viewed (0)
Back to top