public async Task can_connect_to_tls_ip_endpoint_gossip_seed_with_connection_string()
        {
            var streamName = GetStreamName();

            using var connection = _fixture.CreateConnectionWithConnectionString(useSsl: true);
            await connection.ConnectAsync().WithTimeout();

            var writeResult =
                await connection.AppendToStreamAsync(streamName, ExpectedVersion.Any, TestEventGenerator.CreateTestEvents());

            Assert.True(writeResult.LogPosition.PreparePosition > 0);
        }
        public IEventStoreConnection CreateConnectionWithConnectionString(
            string configureSettings,
            bool useStandardPort,
            bool useDnsEndPoint) =>

        UseCluster
                                ? _cluster.CreateConnectionWithConnectionString(
            useSsl : true,
            configureSettings,
            useStandardPort? 2113 : 2118,
            useDnsEndPoint)
                                : _singleNode.CreateConnectionWithConnectionString(
            configureSettings,
            useStandardPort ? 1113 : 1114,
            useDnsEndPoint);