pablocastilla/NServiceBus.Kafka

What's the trick to change the transport in the acceptance tests?

Closed this issue · 9 comments

Hi @danielmarbach @janovesk!

I would like to know how do you change the transport in the acceptance tests and transport tests. How do you tell, for instance , in the rabbit transport to use the rabbit instead of msmq. I don't get it.

Could you forward this to someone in particular that know it?

Thanks

Hi Daniel, thanks for answering in your day off.

The problem, maybe it is obvious, is that I don't see is how it is set and at the end MSMQ is tested.

Here is how I let ASQ tests run for example

User variable AzureStorageQueueTransport.ConnectionString and
Transport.UseSpecific with AzureStorageQueueTransport

I don't want you to consider me dumb... but I don't find where do you set it :S

Okok, now it works :)

was just about to paste some windows screenshots ;)

well, do it please. At the end I have modified the DefautServer class and put this in it

        settings.Set("Transport", typeof(KafkaTransport));
        var types = endpointConfiguration.GetTypesScopedByTestClass();

If I don't do this the App_Packages tests are executed under msmq.

Ooooooook. I thought about that but didn't find any info. Thanks!

I have created the nuget, it sends and publishes but with a lot of bugs, still a lot of work to do but getting closer.