Class ProxyProtocolTest

    • Constructor Detail

      • ProxyProtocolTest

        public ProxyProtocolTest()
    • Method Detail

      • querySystemLocalAndPeers

        @Test
        @DisplayName("Should expose proxy addresses in system.local and system.peers")
        public void querySystemLocalAndPeers​(com.datastax.oss.driver.api.core.CqlSession session,
                                             List<InetSocketAddress> proxyAddresses)
      • testTokenMapDistribution

        @Test
        @DisplayName("Should use all proxy addresses when using token-aware load balancing")
        public void testTokenMapDistribution​(com.datastax.oss.driver.api.core.CqlSession session,
                                             List<InetSocketAddress> proxyAddresses,
                                             com.datastax.oss.driver.api.core.CqlIdentifier keyspace)