Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 920 for server2 (0.08 sec)

  1. okhttp/src/test/java/okhttp3/RouteFailureTest.kt

        )
      val bodyResponse = MockResponse(body = "body")
    
      @BeforeEach
      fun setUp(
        server: MockWebServer,
        @MockWebServerInstance("server2") server2: MockWebServer,
      ) {
        this.server1 = server
        this.server2 = server2
    
        socketFactory = SpecificHostSocketFactory(InetSocketAddress(server.hostName, server.port))
    
        client =
          clientTestRule.newClientBuilder()
            .dns(dns)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue May 14 17:48:07 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  2. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                dataService.delete(sessionId);
            } finally {
                server.stop();
            }
        }
    
        public void test_execute_2instanceTx() throws Exception {
            final CrawlerWebServer server1 = new CrawlerWebServer(7070);
            server1.start();
            final CrawlerWebServer server2 = new CrawlerWebServer(7071);
            server2.start();
    
            final String url1 = "http://localhost:7070/";
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  3. mockwebserver-junit5/README.md

    ```
    class MyTest(
      private val server: MockWebServer
    ) {
      @Test
      fun test() {
        ...
      }
    }
    ```
    
    Multiple instances can be obtained by naming additional ones:
    
    ```
    class MyTest(
      private val server: MockWebServer,
      @MockWebServerInstance("server2") private val server2: MockWebServer,
      @MockWebServerInstance("server3") private val server3: MockWebServer
    ) {
      @Test
      fun test() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

        }
        val recordedRequest = server.takeRequest()
        assertThat(recordedRequest.requestUrl).isEqualTo("http://android.com/".toHttpUrl())
      }
    
      @Test
      fun startTwice() {
        val server2 = MockWebServer()
        server2.start()
        server2.start()
        server2.shutdown()
      }
    
      @Test
      fun shutdownTwice() {
        val server2 = MockWebServer()
        server2.start()
        server2.shutdown()
        try {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  5. compat/maven-settings-builder/src/test/java/org/apache/maven/settings/validation/DefaultSettingsValidatorTest.java

        @Test
        void testValidateUniqueServerId() throws Exception {
            Settings settings = new Settings();
            Server server1 = new Server();
            server1.setId("test");
            settings.addServer(server1);
            Server server2 = new Server();
            server2.setId("test");
            settings.addServer(server2);
    
            SimpleProblemCollector problems = new SimpleProblemCollector();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  6. fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                dataService.delete(sessionId);
            } finally {
                server.stop();
            }
        }
    
        public void test_execute_2instance() throws Exception {
            final CrawlerWebServer server1 = new CrawlerWebServer(7070);
            server1.start();
            final CrawlerWebServer server2 = new CrawlerWebServer(7071);
            server2.start();
    
            final String url1 = "http://localhost:7070/";
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

      private lateinit var server: MockWebServer
      private lateinit var server2: MockWebServer
      private val handshakeCertificates = platform.localhostHandshakeCertificates()
      private var client = clientTestRule.newClient()
      private var cache: Cache? = null
    
      @BeforeEach
      fun setUp(
        server: MockWebServer,
        @MockWebServerInstance("server2") server2: MockWebServer,
      ) {
        this.server = server
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                dataService.delete(sessionId);
            } finally {
                server.stop();
            }
        }
    
        public void test_execute_2instance() throws Exception {
            final CrawlerWebServer server1 = new CrawlerWebServer(7070);
            server1.start();
            final CrawlerWebServer server2 = new CrawlerWebServer(7071);
            server2.start();
    
            final String url1 = "http://localhost:7070/";
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 18K bytes
    - Viewed (0)
  9. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

      }
    
      @Test
      fun shutdownWithoutStart() {
        val server = MockWebServer()
        server.shutdown()
      }
    
      @Test
      fun closeViaClosable() {
        val server: Closeable = MockWebServer()
        server.close()
      }
    
      @Test
      fun shutdownWithoutEnqueue() {
        val server = MockWebServer()
        server.start()
        server.shutdown()
      }
    
      @Test
      fun portImplicitlyStarts() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  10. buildscripts/verify-healing-empty-erasure-set.sh

    	done
    
    	"${MINIO[@]}" --address ":$((start_port + 1))" $args >"${WORK_DIR}/dist-minio-server1.log" 2>&1 &
    	pid1=$!
    	disown ${pid1}
    
    	"${MINIO[@]}" --address ":$((start_port + 2))" $args >"${WORK_DIR}/dist-minio-server2.log" 2>&1 &
    	pid2=$!
    	disown $pid2
    
    	"${MINIO[@]}" --address ":$((start_port + 3))" $args >"${WORK_DIR}/dist-minio-server3.log" 2>&1 &
    	pid3=$!
    	disown $pid3
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top