@Test
  public void attributesCanBeReplaced() throws IOException, URISyntaxException {
    manager.startAllInactiveContainers();
    await().until(() -> {
      ServerContainer container = manager.getContainer(0);
      return container.getState().isStarted();
    });

    String key = "value_testSessionUpdate";
    String value = "Foo";
    String updateValue = "Bar";
    client.setPort(Integer.parseInt(manager.getContainerPort(0)));
    Client.Response response = client.set(key, value);
    await()
        .untilAsserted(() -> getKeyValueDataOnAllClients(key, value, response.getSessionCookie()));
    client.setPort(Integer.parseInt(manager.getContainerPort(0)));
    Client.Response updateResponse = client.set(key, updateValue);
    await().untilAsserted(
        () -> getKeyValueDataOnAllClients(key, updateValue, updateResponse.getSessionCookie()));

    checkLogs();
  }
Test that a container added to the system after puts still can access the correct sessions and
data.
geode-assembly/src/distributedTest/java/org/apache/geode/session/tests/CargoTestBase.java