Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 361 - 370 of 457 for unexpectedly (0.06 seconds)

  1. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        SettableFuture<Foo> input = SettableFuture.create();
        AsyncFunction<Foo, Bar> function =
            unused -> {
              throw new AssertionFailedError("Unexpected call to apply.");
            };
        assertTrue(transformAsync(input, function, directExecutor()).cancel(false));
        assertTrue(input.isCancelled());
        assertFalse(input.wasInterrupted());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/doc/RestTestsFromSnippetsTask.groovy

                    foundButNotListed = foundButNotListed.collect {'    ' + it}
                    if (false == "".equals(message)) {
                        message += "\n"
                    }
                    message += "Unexpected unconverted snippets:\n"
                    message += foundButNotListed.join("\n")
                }
                if (false == "".equals(message)) {
                    throw new InvalidUserDataException(message);
                }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 19.5K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/ldap/LdapManager.java

                } catch (final LdapOperationException e) {
                    logger.warn("LDAP connection failed: {}", e.getMessage(), e);
                } catch (final Exception e) {
                    logger.warn("Unexpected error during LDAP validation: {}", e.getMessage(), e);
                }
            }
            return isBind;
        }
    
        /**
         * Authenticates a user with the specified username and password against LDAP.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 02 08:06:20 GMT 2026
    - 85.2K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

                                // Expected if closed
                            }
                        }
                    } catch (Exception e) {
                        fail("Unexpected exception: " + e.getMessage());
                    } finally {
                        completeLatch.countDown();
                    }
                }).start();
            }
    
            // Start all threads simultaneously
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 23.3K bytes
    - Click Count (0)
  5. cmd/background-newdisks-heal-ops.go

    func healFreshDisk(ctx context.Context, z *erasureServerPools, endpoint Endpoint) error {
    	poolIdx, setIdx := endpoint.PoolIdx, endpoint.SetIdx
    	disk := getStorageViaEndpoint(endpoint)
    	if disk == nil {
    		return fmt.Errorf("Unexpected error disk must be initialized by now after formatting: %s", endpoint)
    	}
    
    	_, err := disk.DiskInfo(ctx, DiskInfoOptions{})
    	if err != nil {
    		if errors.Is(err, errDriveIsRoot) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  6. cmd/endpoint_test.go

    		testCase := testCase
    		t.Run("", func(t *testing.T) {
    			var srvCtxt serverCtxt
    			err := mergeDisksLayoutFromArgs(testCase.args, &srvCtxt)
    			if err != nil && testCase.expectedErr == nil {
    				t.Errorf("Test %d: unexpected error: %v", i+1, err)
    			}
    			pools, setupType, err := CreatePoolEndpoints(testCase.serverAddr, srvCtxt.Layout.pools...)
    			if err == nil && testCase.expectedErr != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 18.9K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/job/PythonJobTest.java

        // Test execute with exception handling
        @Test
        public void test_execute_withException() {
            pythonJob.filename("test.py");
    
            testProcessHelper.throwException = new RuntimeException("Unexpected error");
    
            String result = pythonJob.execute();
    
            assertTrue(result.contains("Session Id:"));
            assertTrue(result.contains("Python Process terminated."));
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 22.2K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt

        )
      }
    
      @Test
      fun unexpectedPongsDoNotInterfereWithFailureDetection() {
        client.initWebSocket(random, pingIntervalMillis = 500)
    
        // At 0ms the server sends 3 unexpected pongs. The client accepts 'em and ignores em.
        server.webSocket!!.pong("pong 1".encodeUtf8())
        client.processNextFrame()
        server.webSocket!!.pong("pong 2".encodeUtf8())
        client.processNextFrame()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 18.7K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java

        }
    
        // Test execute with exception
        @Test
        public void test_execute_withException() {
            thumbnailJob.numOfThreads(2);
    
            testProcessHelper.throwException = new RuntimeException("Unexpected error");
    
            String result = thumbnailJob.execute();
    
            assertNotNull(result);
            assertNotNull(thumbnailJob.sessionId);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 19K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

                fail("Thread safety test interrupted");
            }
    
            // In test environment, some operations might not work due to missing request context
            // but the methods should not throw unexpected exceptions
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 17.4K bytes
    - Click Count (0)
Back to Top