This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Configuration; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using EventStore.ClientAPI; | |
using EventStore.SerilogAdapter; | |
using Serilog; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Configuration; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using EventStore.ClientAPI; | |
using EventStore.SerilogAdapter; | |
using Serilog; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static PostgresRunner Start(string dataDirectory = null, string searchPatternOverride = null) | |
{ | |
if (dataDirectory == null) | |
{ | |
dataDirectory = TempDirectory.Create(); | |
} | |
// this is required to support multiple instances to run in parallel | |
var instanceDataDirectory = Path.Combine(dataDirectory, GetUniqueHash()); |