-
Hello All, I was wondering if any of you have come across this issue. I have a XUnit project and if I Run the Test or Debug the Test within the XUnit project, it runs fine with no issues. When the GitHub Workflow runs I get the following error below. I did a simple test by swapping the Fetch calls on the info object and its seems to fail on the first occurrence of a Fetch. I verify the Fetch method signatures, and it looks correct. Also, I would imagine that it would have failed if it was not correct in my XUnit project. The Fetch method is not Async. The Error on my GitHub Workflow Action: [xUnit.net 00:00:15.74] xUnitProject.ObjectTest.InsertObject_InsertObject_returnsTrue [FAIL] The workflow file is a simple one :
This is my code that I used to call it :
This is how I load my service on the base class :
Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
Hi. Which CSLA Version are you using? |
Beta Was this translation helpful? Give feedback.
-
Here is the entire stack trace. Run dotnet test --no-build --verbosity normal Starting test execution, please wait... Total tests: 1 Build FAILED. Time Elapsed 00:00:18.85 |
Beta Was this translation helpful? Give feedback.
-
Hello @rockfordlhotka and @StefanOssendorf , This is the line that I change on my workflow file : runs-on: [self-hosted, windows, x64] Once again thank you. |
Beta Was this translation helpful? Give feedback.
Hello @rockfordlhotka and @StefanOssendorf ,
After changing the DNS name with the IP address, I got a message that trying to connect to server but failed. I then change my runner to use self-hosted in our organization and also the OS and that did the job. So it must have been something with the default Virtual Machine runner that was the issue. Everything is working as it should now.
This is the line that I change on my workflow file :
runs-on: [self-hosted, windows, x64]
Once again thank you.