Skip to content

Commit

Permalink
Fixes integration tests (#3551)
Browse files Browse the repository at this point in the history
  • Loading branch information
JR-Morgan authored Jul 2, 2024
1 parent e28f84e commit c324994
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ public void TearDown()

private void CleanData()
{
_transport?.Dispose();
if (Directory.Exists(_basePath))
{
Directory.Delete(_basePath, true);
Expand Down Expand Up @@ -73,7 +74,7 @@ public async Task SendAndReceiveObjectWithBlobs()
// NOTE: used to debug diffing
// await Operations.Send(myObject, new List<ITransport> { transport });

var receivedObject = await Operations.Receive(sentObjectId, _transport);
var receivedObject = await Operations.Receive(sentObjectId, _transport, new MemoryTransport());

var allFiles = Directory
.GetFiles(_transport.BlobStorageFolder)
Expand Down Expand Up @@ -104,7 +105,7 @@ public async Task SendWithBlobsWithoutSQLiteSendCache()
var memTransport = new MemoryTransport();
var sentObjectId = await Operations.Send(myObject, new List<ITransport> { _transport, memTransport });

var receivedObject = await Operations.Receive(sentObjectId, _transport);
var receivedObject = await Operations.Receive(sentObjectId, _transport, new MemoryTransport());

var allFiles = Directory
.GetFiles(_transport.BlobStorageFolder)
Expand Down

0 comments on commit c324994

Please sign in to comment.