Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for testminio (0.27 sec)

  1. internal/event/target/nats_contrib_test.go

    	if err != nil {
    		t.Errorf("Could not connect to nats: %v", err)
    	}
    	defer con.Close()
    }
    
    func TestNatsConnUserPass(t *testing.T) {
    	opts := natsserver.DefaultTestOptions
    	opts.Port = 14223
    	opts.Username = "testminio"
    	opts.Password = "miniotest"
    	s := natsserver.RunServer(&opts)
    	defer s.Shutdown()
    
    	clientConfig := &NATSArgs{
    		Enable: true,
    		Address: xnet.Host{
    			Name:      "localhost",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/TestLauncherSpec.groovy

                    }
                }
                false
            }
        }
    
        boolean hasTestDescriptor(testInfo) {
            def collect = events.tests.collect { it.descriptor }
            !findTestDescriptors(collect, testInfo.className, testInfo.methodName, testInfo.task, testInfo.displayName).isEmpty()
        }
    
    
        void collectDescriptorsFromBuild() {
            try {
                withConnection {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 08:42:44 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/debug/debug_test.cc

      mlir::OwningOpRef<mlir::ModuleOp> module_;
    
     private:
      std::string GetOutputPath() {
        const auto* const test_info =
            testing::UnitTest::GetInstance()->current_test_info();
        return tsl::io::JoinPath(
            getenv("TEST_UNDECLARED_OUTPUTS_DIR"),
            absl::StrCat(test_info->test_suite_name(), ".", test_info->name()));
      }
    };
    
    TEST_F(InitPassManagerTest, CrashReproducer) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 11:15:16 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  4. src/runtime/pprof/vminfo_darwin_test.go

    	}
    	if !strings.HasSuffix(filename, "pprof.test") {
    		t.Errorf("got %s, want pprof.test", filename)
    	}
    	addr := uint64(abi.FuncPCABIInternal(TestVMInfo))
    	if addr < lo || addr > hi {
    		t.Errorf("%x..%x does not contain function %p (%x)", lo, hi, TestVMInfo, addr)
    	}
    }
    
    func useVMMapWithRetry(t *testing.T) (hi, lo uint64, err error) {
    	var retryable bool
    	for {
    		hi, lo, retryable, err = useVMMap(t)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 19:59:50 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. src/cmd/go/internal/load/test.go

    		if err != nil && pmain.Error == nil {
    			pmain.Error = &PackageError{Err: err}
    			pmain.Incomplete = true
    		}
    		// Set TestmainGo even if it is empty: the presence of a TestmainGo
    		// indicates that this package is, in fact, a test main.
    		pmain.Internal.TestmainGo = &data
    	}
    
    	if done != nil {
    		go func() {
    			parallelizablePart()
    			done()
    		}()
    	} else {
    		parallelizablePart()
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 14:01:23 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  6. src/cmd/go/internal/load/pkg.go

    //   - is a synthesized "main" package for a test binary, or
    //   - contains only _test.go files.
    func (p *Package) IsTestOnly() bool {
    	return p.ForTest != "" ||
    		p.Internal.TestmainGo != nil ||
    		len(p.TestGoFiles)+len(p.XTestGoFiles) > 0 && len(p.GoFiles)+len(p.CgoFiles) == 0
    }
    
    type PackageInternal struct {
    	// Unexported fields are not part of the public API.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  7. src/cmd/go/internal/test/test.go

    		pmain.Internal.OmitDebug = false
    	}
    
    	if !cfg.BuildN {
    		// writeTestmain writes _testmain.go,
    		// using the test description gathered in t.
    		if err := os.WriteFile(testDir+"_testmain.go", *pmain.Internal.TestmainGo, 0666); err != nil {
    			return nil, nil, nil, err
    		}
    	}
    
    	// Set compile objdir to testDir we've already created,
    	// so that the default file path stripping applies to _testmain.go.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
Back to top