LukeMathWalker / wiremock-rs

HTTP mocking to test Rust applications.
Apache License 2.0
607 stars 69 forks source link

gitlab ci hang up #119

Closed LorenzoLeonardo closed 1 year ago

LorenzoLeonardo commented 1 year ago

Hello

I am experiencing hang up in gitlab CI when using PUT method during unit test. It will work fine if I run the test in my local machine, but when it is already in gitlab CI, it seems the wiremock server doesn't respond. The curl perform is waiting forever.

LukeMathWalker commented 1 year ago

Unless you provide us with a way to reproduce it on our machines (or some telemetry data explaining what's going on), I don't think we'll be able to troubleshoot the issue.

LorenzoLeonardo commented 1 year ago

Unless you provide us with a way to reproduce it on our machines (or some telemetry data explaining what's going on), I don't think we'll be able to troubleshoot the issue.

https://github.com/LukeMathWalker/wiremock-rs/pull/118

Please use this Sample code and commit it into gitlab with CI enabled with tests setup in yml file.

LorenzoLeonardo commented 1 year ago

GET and POST is working well, only PUT method that server doesn't respond

LukeMathWalker commented 1 year ago

This is way beyond what I'm willing to do for resolving a bug report (for free) on this OSS project, I'm sorry.

The issue could be in GitLab, in the curl crate (or the version of curl in your CI) or in wiremock and it could easily take me hours to pin it down since I'm not familiar with the first two.