test/jdk/java/net/httpclient/MockServer.java
branchhttp-client-branch
changeset 56053 8588095e95b0
parent 55973 4d9b002587db
child 56070 66a9c3185028
equal deleted inserted replaced
56052:da2aa3c773c9 56053:8588095e95b0
    58     // (external) clients that might be lurking
    58     // (external) clients that might be lurking
    59     // on the test machine instead of answering
    59     // on the test machine instead of answering
    60     // to the test client.
    60     // to the test client.
    61    final String root;
    61    final String root;
    62 
    62 
    63     // waits up to 20 seconds for something to happen
    63     // waits up to 2000 seconds for something to happen
    64     // dont use this unless certain activity coming.
    64     // dont use this unless certain activity coming.
    65     public Connection activity() {
    65     public Connection activity() {
    66         for (int i = 0; i < 80 * 100; i++) {
    66         for (int i = 0; i < 80 * 100; i++) {
    67             doRemovalsAndAdditions();
    67             doRemovalsAndAdditions();
    68             for (Connection c : sockets) {
    68             for (Connection c : sockets) {