Skip to content

Commit 7e9b054

Browse files
author
John Simons
committed
Workaround to get the tests going until we can fix the scoping of the
tests
1 parent ae20fb3 commit 7e9b054

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/ServiceControl.AcceptanceTests/When_a_message_has_been_successfully_processed.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,11 @@ class Foo: IWantToRunWhenBusStartsAndStops
250250

251251
public void Start()
252252
{
253+
//hack until we can fix the types filtering in default server
254+
if (string.IsNullOrEmpty(MyContext.MessageId))
255+
{
256+
return;
257+
}
253258
var transportMessage = new TransportMessage();
254259
transportMessage.Headers["NServiceBus.MessageId"] = MyContext.MessageId;
255260
SendMessages.Send(transportMessage, Address.Parse("audit"));

0 commit comments

Comments
 (0)