Search Options

Results per page
Sort
Preferred Languages
Advance

Results 671 - 680 of 966 for Fail (0.03 sec)

  1. cmd/test-utils_test.go

    	// simple function which returns a message which gives the context of the test
    	// and then followed by the actual error message.
    	failTestStr := func(testType, failMsg string) string {
    		return fmt.Sprintf("MinIO %s: %s fail for \"%s\": \n<Error> %s", instanceType, testType, testName, failMsg)
    	}
    
    	// httptest Recorder to capture all the response by the http handler.
    	rec := httptest.NewRecorder()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_unified_experimental_test.cc

      TF_AbstractOpSetOpName(placeholder_op, "my_ph", status.get());
      ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
    
      // This should fail.
      TF_AbstractOpSetOpType(placeholder_op, "Placeholder", status.get());
      ASSERT_EQ(TF_FAILED_PRECONDITION, TF_GetCode(status.get()));
    
      TF_DeleteAbstractOp(placeholder_op);
      TF_DeleteExecutionContext(graph_ctx);
    }
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  3. 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)
  4. android/guava-tests/test/com/google/common/primitives/IntsTest.java

        assertThat(Ints.saturatedCast(Long.MIN_VALUE)).isEqualTo(LEAST);
      }
    
      private static void assertCastFails(long value) {
        try {
          Ints.checkedCast(value);
          fail("Cast to int should have failed: " + value);
        } catch (IllegalArgumentException ex) {
          assertWithMessage(value + " not found in exception text: " + ex.getMessage())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/DoublesTest.java

        // it's shared to avoid using too much memory in tests
        double[] sharedArray = new double[arraysDim2];
        Arrays.fill(arrays, sharedArray);
    
        try {
          Doubles.concat(arrays);
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      public void testEnsureCapacity() {
        assertThat(Doubles.ensureCapacity(EMPTY, 0, 1)).isSameInstanceAs(EMPTY);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java

            // timing of executing the interpolation
    
            try
            {
            new RegexBasedModelInterpolator().interpolate( model, context );
            fail( "Should have failed to interpolate with invalid reference" );
            }
            catch ( ModelInterpolationException expected )
            {
            assertTrue( true );
            }
            */
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/Collections2Test.java

      private <T> void assertNoMorePermutations(Iterator<List<T>> permutations) {
        assertFalse("Expected no more permutations, but there was one.", permutations.hasNext());
        try {
          permutations.next();
          fail("Expected NoSuchElementException.");
        } catch (NoSuchElementException expected) {
        }
      }
    
      private <T> void assertPermutationsCount(int expected, Collection<List<T>> permutationSet) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 10:16:44 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/FinalizableReferenceQueue.java

       *
       * If any of this fails along the way, we fall back to loading Finalizer directly in the
       * application class loader.
       *
       * NOTE: The tests for this behavior (FinalizableReferenceQueueClassLoaderUnloadingTest) fail
       * strangely when run in JDK 9. We are considering this a known issue. Please see
       * https://github.com/google/guava/issues/3086 for more information.
       */
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jul 11 20:51:36 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/hash/Striped64.java

                  }
                  if (created) break;
                  continue; // Slot is now non-empty
                }
              }
              collide = false;
            } else if (!wasUncontended) // CAS already known to fail
            wasUncontended = true; // Continue after rehash
            else if (a.cas(v = a.value, fn(v, x))) break;
            else if (n >= NCPU || cells != as) collide = false; // At max size or stale
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

     * An unbounded {@linkplain BlockingQueue blocking queue} that uses the same ordering rules as class
     * {@link PriorityQueue} and supplies blocking retrieval operations. While this queue is logically
     * unbounded, attempted additions may fail due to resource exhaustion (causing {@code
     * OutOfMemoryError}). This class does not permit {@code null} elements. A priority queue relying on
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 07 21:36:32 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top