Skip to content

Commit

Permalink
Merge branch 'main' into xedkn/send-requests-to-process-manager
Browse files Browse the repository at this point in the history
  • Loading branch information
ebbeknudsen authored Dec 16, 2024
2 parents a9940e2 + 9e5fa09 commit 7f1cfbf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/SubsystemTests/Drivers/EdiDatabaseDriver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -227,9 +227,9 @@ internal async Task DeleteOutgoingMessagesForFromLoadTestAsync()
await using (var deleteOutgoingMessagesCommand = new SqlCommand())
{
deleteOutgoingMessagesCommand.CommandText = @"
DELETE FROM [MarketDocuments] WHERE BundleId IN (SELECT Id FROM [Bundles] WHERE RelatedToMessageId like 'perf_test_%');
DELETE FROM [OutgoingMessages] WHERE [AssignedBundleId] = (SELECT Id FROM [Bundles] WHERE RelatedToMessageId like 'perf_test_%');
DELETE FROM [Bundles] WHERE RelatedToMessageId like 'perf_test_%';
DELETE FROM [MarketDocuments] WHERE [BundleId] IN (SELECT [Id] FROM [Bundles] WHERE [RelatedToMessageId] like 'perf_test_%');
DELETE FROM [OutgoingMessages] WHERE [AssignedBundleId] IN (SELECT [Id] FROM [Bundles] WHERE [RelatedToMessageId] like 'perf_test_%');
DELETE FROM [Bundles] WHERE [RelatedToMessageId] like 'perf_test_%';
";

deleteOutgoingMessagesCommand.Connection = connection;
Expand Down

0 comments on commit 7f1cfbf

Please sign in to comment.