private String[] generateAddresses(final int maxSize) {
    final String[] results = new String[2];

    // Generate a pseudo-random set of addresses.
    long now = new Date().getTime();
    int first = (int) ((now % 250) + 3);

    int second = (int) (((now / 250) % 250) + 3);

    String port = ":" + TestConfig.PORT_NUMBER + " ";
    int last = (int) ((now % 100) + 3);

    StringBuffer prefix = new StringBuffer();
    prefix.append(first);
    prefix.append(".");
    prefix.append(second);
    prefix.append(".1.");

    // Don't protect the possible range too much, as we are our own client.
    StringBuffer buf = new StringBuffer();
    for (int ix = 0; ix < maxSize - 1; ix++) {
      buf.append(prefix);
      buf.append(last + ix);
      buf.append(port);
    }

    results[0] = buf.toString();

    buf.append(prefix);
    buf.append(last + maxSize - 1);
    buf.append(port);

    results[1] = buf.toString();

    return results;
  }
Simulate dropping from (totalNodes) to (totalNodes-1). Ensure hashing is
consistent between the the two scenarios.

@param totalNodes
src/test/java/net/spy/memcached/ConsistentHashingTest.java