Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1211 - 1220 of 1,352 for fail (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/smb/SmbWatchHandleImplTest.java

            when(handle.getFid()).thenReturn(fid);
            when(tree.send(any(CommonServerMessageBlockRequest.class), any(), any(), any())).thenReturn(resp);
        }
    
        // Ensures watch() fails fast if the underlying handle is invalid
        @Test
        @DisplayName("watch() throws when handle invalid")
        void watch_invalidHandle_throwsSmbException() throws Exception {
            when(handle.isValid()).thenReturn(false);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java

                when(mockOrchestrator.executeStrategies(Mockito.any(), Mockito.any()))
                        .thenReturn(UpgradeResult.empty());
    
                // Should not throw exception even if .mvn creation fails
                int result = upgradeGoal.testExecuteWithTargetModel(context, "4.0.0");
    
                // The exact behavior depends on implementation, but it should handle gracefully
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  3. tests/prepared_stmt_test.go

    	lens := len(conn.Stmts.Keys())
    	// Check if the number of stored statement keys is 0.
    	if lens == 0 {
    		// If the number is 0, it means there are no statements stored in the LRU cache.
    		// The test fails and an error message is output.
    		t.Fatalf("lru should not be empty")
    	}
    	// Wait for 40 seconds to give the statements in the cache enough time to expire.
    	time.Sleep(time.Second * 40)
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Apr 25 08:22:26 GMT 2025
    - 8K bytes
    - Click Count (0)
  4. README.md

    PopularWordsResponse trending = suggester.popularWords()
        .setSize(10)
        .execute()
        .getResponse();
    ```
    
    ## Troubleshooting
    
    ### Common Issues
    
    **Index Creation Fails**
    - Verify OpenSearch cluster is accessible
    - Check index permissions and mappings
    - Ensure sufficient cluster resources
    
    **Suggestions Not Appearing**
    - Confirm documents are indexed: `suggester.refresh()`
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Aug 31 03:31:14 GMT 2025
    - 12.1K bytes
    - Click Count (1)
  5. api/maven-api-di/src/main/java/org/apache/maven/di/tool/DiIndexProcessor.java

                        writer.write(newContent);
                    }
                } catch (IOException e) {
                    logError("Failed to write to file", e);
                    throw e; // Re-throw to ensure the compilation fails
                }
            } else {
                logMessage(Diagnostic.Kind.NOTE, "Content unchanged. Skipping file update.");
            }
        }
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  6. docs/fr/docs/tutorial/index.md

    ## Exécuter le code { #run-the-code }
    
    Tous les blocs de code peuvent être copiés et utilisés directement (il s'agit en fait de fichiers Python testés).
    
    Pour exécuter l'un de ces exemples, copiez le code dans un fichier `main.py`, et démarrez `fastapi dev` :
    
    <div class="termy">
    
    ```console
    $ <font color="#4E9A06">fastapi</font> dev
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  7. docs/es/docs/tutorial/testing.md

    # Testing { #testing }
    
    Gracias a [Starlette](https://www.starlette.dev/testclient/), escribir pruebas para aplicaciones de **FastAPI** es fácil y agradable.
    
    Está basado en [HTTPX](https://www.python-httpx.org), que a su vez está diseñado basado en Requests, por lo que es muy familiar e intuitivo.
    
    Con él, puedes usar [pytest](https://docs.pytest.org/) directamente con **FastAPI**.
    
    ## Usando `TestClient` { #using-testclient }
    
    /// info | Información
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                    }
                }
            }
        }
    
        /**
         * Establishes a connection to the SMB server.
         *
         * @throws SmbException if the connection fails
         */
        public void connect() throws SmbException {
            try {
                super.connect(RESPONSE_TIMEOUT);
            } catch (final TransportException te) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 31.8K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/job/GenerateThumbnailJob.java

         * Sets up the classpath, JVM options, and command line arguments
         * to launch the ThumbnailGenerator in a separate process.
         *
         * @throws JobProcessingException if the thumbnail generation process fails
         */
        protected void executeThumbnailGenerator() {
            final List<String> cmdList = new ArrayList<>();
            final String cpSeparator = SystemUtils.IS_OS_WINDOWS ? ";" : ":";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  10. .teamcity/mvnw

    cygwin=false;
    darwin=false;
    mingw=false
    case "`uname`" in
      CYGWIN*) cygwin=true ;;
      MINGW*) mingw=true;;
      Darwin*) darwin=true
        # Use /usr/libexec/java_home if available, otherwise fall back to /Library/Java/Home
        # See https://developer.apple.com/library/mac/qa/qa1170/_index.html
        if [ -z "$JAVA_HOME" ]; then
          if [ -x "/usr/libexec/java_home" ]; then
            export JAVA_HOME="`/usr/libexec/java_home`"
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Feb 26 01:48:39 GMT 2020
    - 9.8K bytes
    - Click Count (0)
Back to Top