Skip to content

Commit

Permalink
RavenDB-16201 Warning fix
Browse files Browse the repository at this point in the history
  • Loading branch information
arekpalinski committed Aug 10, 2023
1 parent d209159 commit ea22343
Showing 1 changed file with 0 additions and 29 deletions.
29 changes: 0 additions & 29 deletions test/SlowTests/Server/Documents/QueueSink/QueueSinkTestBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ namespace SlowTests.Server.Documents.QueueSink
[Trait("Category", "QueueSink")]
public abstract class QueueSinkTestBase : RavenTestBase
{
private DocumentStore _src;

protected QueueSinkTestBase(ITestOutputHelper output) : base(output)
{
QueueSuffix = Guid.NewGuid().ToString("N");
Expand Down Expand Up @@ -120,33 +118,6 @@ protected void AssertQueueSinkDone(ManualResetEventSlim etlDone, TimeSpan timeou
//Assert.True(false, $"ETL wasn't done. Load error: {loadError?.Error}. Transformation error: {transformationError?.Error}");
}
}

public override void Dispose()
{
try
{
if (_src == null)
return;

if (Context.TestException == null || Context.TestOutput == null)
return;

var notifications = GetQueueSinkErrorNotifications(_src).Result;
if (notifications.Any() == false)
return;

string message = string.Join(",\n", notifications);
Context.TestOutput.WriteLine(message);
}
catch
{
// ignored
}
finally
{
base.Dispose();
}
}

protected class User
{
Expand Down

0 comments on commit ea22343

Please sign in to comment.