New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/amqp support #175
Feature/amqp support #175
Conversation
Still not satisfied with the verfication controller structure
Yeah the other thing is that I'm not sure if there is a web server implementation in .net that works cross platform on. net standard/core and full .net. |
So we'll leave it as is for now? |
Hi @neilcampbell, any update? |
@nirpet Sorry, life has been very busy at the moment and haven't done much more. Hopefully then we have a bit of a plan and can both pick up smaller pieces of work until it's done. |
Sounds good |
@nirpet I just pushed a TODO.txt to the pact-message branch. Those are the things I can think about at the moment, however there will likely be more as we tick off those items. I'm going to do the readme one. Would you be interested in working on |
Sure @neilcampbell. |
Hi @neilcampbell, |
Hi, Do you have any update on when this will be merged to master? |
@nirpet How did you end up setting up the samples to capture any consumer failure messages? I started down the track of IMessageSink, but that didn't work for me. In the message sample in |
@Gokulaprakash No. Heads up this branch actually won't be merged into master, the |
@neilcampbell there is an existing project for message verifications - https://github.com/Mattersight/pact-net-messages |
@neilcampbell, maybe I've missed something. |
I'm currently testing this. My tests succeed when running from Windows, but fail when I'm running them from Linux. This only happens with the message pact tests, the "api" pact tests succeed on both platforms. Is this a known issue? I see that there was a commit on master that may be related to this, but even after merging in the latest master the issue still occurs. I'll see if I can find the root cause. |
@bartschotten I haven't tried running them on Linux (only Windows). It would be awesome if you could look into it! That reminds me, I'll need to merge master into |
When testing with the included sample projects I get the same issue. I've also noticed that, even on Windows, the MessagePact does not generate log files, and that the provided Outputter is never called. This unfortunately makes it very hard to debug. By the way, I've also done tests with the latest version of the ruby core. That doesn't help either. |
Sorry for spamming this thread. I'm just thinking out loud a bit here, but the output I've been able to generate suggests that there's a problem parsing the json on Linux:
|
I've found the issue. The problem occurs when calling the ruby script with a json string as an argument like this (set in the ReifyCommand class): This works on Windows but on Linux the double quotes get lost somewhere. Now let's see if I can fix it in a less hacky way than I currently have. |
@bartschotten Nice work! Also if you could do it on the |
@bartschotten Also heads up I just merged the latest |
There's another issue that I ran into while running on WSL or on docker with volume sharing. It causes an infamous ruby warning (see for example microsoft/WSL#1426), which messes up the output that's captured in MessagePact.VerifyConsumer. |
Hi, @neilcampbell @bartschotten @nirpet Thank you in advance |
Closed due to #315 being merged instead to add message pact support to v4.x |
No description provided.