Пример #1
0
        public JournalReaderTests()
        {
            var settings = new MemstateSettings().WithRandomSuffixAppendedToStreamName();

            _provider = new PostgresqlProvider(settings);
            _provider.Initialize();

            _journalReader = _provider.CreateJournalReader();
            _journalWriter = _provider.CreateJournalWriter(0);

            _serializer = settings.CreateSerializer();
        }
Пример #2
0
        public JournalReaderTests()
        {
            var settings = new MemstateSettings();

            _provider = new PostgresqlProvider(settings);

            _provider.Initialize();

            _journalReader = _provider.CreateJournalReader();
            _journalWriter = _provider.CreateJournalWriter(0);

            _serializer = settings.CreateSerializer();
        }