Skip to content

Commit

Permalink
toning down logging noise for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremydmiller committed Jun 18, 2024
1 parent e7b3013 commit fda1a93
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Marten.Testing/Harness/IntegrationContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ protected string StoreOptions(Action<StoreOptions> configure)
options.NameDataLength = 100;
options.DatabaseSchemaName = GetType().Name.Sanitize();

options.DisableNpgsqlLogging = true;

configure(options);

_store = new DocumentStore(options);
Expand Down
1 change: 1 addition & 0 deletions src/Marten.Testing/Harness/OneOffConfigurationsContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ protected DocumentStore SeparateStore(Action<StoreOptions> configure = null)
var options = new StoreOptions { DatabaseSchemaName = SchemaName };

options.Connection(ConnectionSource.ConnectionString);
options.DisableNpgsqlLogging = true;

configure?.Invoke(options);

Expand Down

0 comments on commit fda1a93

Please sign in to comment.