Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 237 for Did (0.01 sec)

  1. tests/transaction_test.go

    	}
    }
    
    func TestTransactionWithBlock(t *testing.T) {
    	assertPanic := func(f func()) {
    		defer func() {
    			if r := recover(); r == nil {
    				t.Fatalf("The code did not panic")
    			}
    		}()
    		f()
    	}
    
    	// rollback
    	err := DB.Transaction(func(tx *gorm.DB) error {
    		user := *GetUser("transaction-block", Config{})
    		if err := tx.Save(&user).Error; err != nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Sep 14 12:58:29 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  2. cni/pkg/plugin/plugin_test.go

    	// Create a kube client
    	client := kube.NewFakeClient(objects...)
    
    	mockRedir := &mockInterceptRuleMgr{}
    	err = doAddRun(args, conf, client.Kube(), mockRedir)
    	if err == nil {
    		t.Fatal("expected to fail, but did not!")
    	}
    
    	return mockRedir
    }
    
    func testDoAddRun(t *testing.T, stdinData, nsName string, objects ...runtime.Object) *mockInterceptRuleMgr {
    	args := buildCmdArgs(stdinData, testPodName, nsName)
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  3. istioctl/pkg/precheck/precheck.go

    		}
    		if changed {
    			res := ObjectToInstance(se)
    			messages.Add(msg.NewUpdateIncompatibility(res,
    				"ENABLE_RESOLUTION_NONE_TARGET_PORT", "1.21",
    				"ServiceEntry with resolution NONE and a targetPort set previously did nothing but now is respected", "1.21"))
    		}
    	}
    	return nil
    }
    
    func checkPilot(cli kube.CLIClient, namespace string, messages *diag.Messages) error {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 02:31:32 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  4. internal/bucket/object/lock/lock.go

    	// ErrMalformedXML - generic error indicating malformed XML
    	ErrMalformedXML = errors.New("the XML you provided was not well-formed or did not validate against our published schema")
    )
    
    const (
    	ntpServerEnv = "MINIO_NTP_SERVER"
    )
    
    var ntpServer = env.Get(ntpServerEnv, "")
    
    // UTCNowNTP - is similar in functionality to UTCNow()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 29 01:20:27 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/Helpers.java

        // problem on any failure.
    
        // Yeah it's n^2.
        for (Object object : exp) {
          if (!act.remove(object)) {
            fail(
                "did not contain expected element "
                    + object
                    + ", "
                    + "expected = "
                    + exp
                    + ", actual = "
                    + actString);
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AbstractService.java

            throw failure;
          }
    
          if (snapshot.shutdownWhenStartupFinishes) {
            snapshot = new StateSnapshot(STOPPING);
            // We don't call listeners here because we already did that when we set the
            // shutdownWhenStartupFinishes flag.
            doStop();
          } else {
            snapshot = new StateSnapshot(RUNNING);
            enqueueRunningEvent();
          }
        } finally {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  7. tests/hooks_test.go

    	p := Product6{
    		Name: "unique_code",
    		Item: &ProductItem2{},
    	}
    	_DB.Model(&Product6{}).Create(&p)
    
    	if err := _DB.Unscoped().Delete(&p).Error; err != nil {
    		t.Fatalf("unscoped did not propagate")
    	}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 17 03:59:06 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

          throw new AssertionError(e);
        }
    
        if (referenceException == null) {
          if (targetException != null) {
            throw new AssertionError("Target threw exception when reference did not", targetException);
          }
    
          /*
           * Reference iterator returned a value, so we should expect the
           * same value from the target
           */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  9. cmd/admin-handlers.go

    			hosts: hostMap,
    			disks: diskMap,
    			jobID: jobID,
    			depID: dID,
    		})
    		m.Merge(&mLocal)
    		// Allow half the interval for collecting remote...
    		cctx, cancel := context.WithTimeout(ctx, interval/2)
    		mRemote := collectRemoteMetrics(cctx, types, collectMetricsOpts{
    			hosts: hostMap,
    			disks: diskMap,
    			jobID: jobID,
    			depID: dID,
    		})
    		cancel()
    		m.Merge(&mRemote)
    		if !byHost {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

          throw new AssertionError(e);
        }
    
        if (referenceException == null) {
          if (targetException != null) {
            throw new AssertionError("Target threw exception when reference did not", targetException);
          }
    
          /*
           * Reference iterator returned a value, so we should expect the
           * same value from the target
           */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
Back to top