public Task DisposeAsync()
 {
     Connection.Dispose();
     _eventStoreCluster.Stop();
     _eventStoreCluster.Dispose();
     return(Task.CompletedTask);
 }
    public static void StopTestRun()
    {
        if (!IsRunningInDocker)
        {
            return;
        }

        _compositeService.Stop();
        _compositeService.Dispose();
    }
Пример #3
0
        protected virtual void Dispose(bool disposing)
        {
            if (!disposing)
            {
                return;
            }

            _compositeService.Stop();
            _compositeService?.Dispose();
        }
 public void Stop()
 {
     _eventStoreCluster.Stop();
 }
Пример #5
0
 public void Dispose()
 {
     _svc?.Stop();
     _svc?.Dispose();
 }
Пример #6
0
 public static void DockerComposeDown()
 {
     _compositeService?.Stop();
     _compositeService?.Dispose();
 }