public override async Task<IEventStore> GetEventStore()
        {
            var node = await CreateClusterVNode();

            var connectionSettingsBuilder = ConnectionSettings
                .Create()
                .SetDefaultUserCredentials(new UserCredentials("admin", "changeit"))
                .KeepReconnecting();

            var gesEventStore = new GesEventStore(
                () => EmbeddedEventStoreConnection.Create(node, connectionSettingsBuilder));
            return new EventStoreWrapper(gesEventStore, node);
        }
 public EventStoreWrapper(GesEventStore inner, ClusterVNode node)
 {
     _inner = inner;
     _node = node;
 }
 public override async Task<IEventStore> GetEventStore()
 {
     var node = await CreateClusterVNode();
     var gesEventStore = new GesEventStore(() => EmbeddedEventStoreConnection.Create(node));
     return new EventStoreWrapper(gesEventStore, node);
 }