Skip to content

Test Host Process Crashes After 5.0.1 Upgrade #535

@adamrodger

Description

@adamrodger

Version information:

  • OS: Linux x64
  • PactNet Version: 5.0.1
  • .Net Version: 9.0

Describe the bug

After the upgrade from PactNet 5.0.0 to 5.0.1, I get an error when running provider tests inside a .Net Docker container:

The active test run was aborted. Reason: Test host process crashed

Test Run Aborted.
       _VSTestConsole:
         MSB4181: The "VSTestTask" task returned false but did not log an error.
     1>Done Building Project "/app/tests/MyProject.Pacts/MyProject.Pacts.csproj" (VSTest target(s)) -- FAILED.

Build FAILED.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:03.52
Process exited with code 1
Test ignored: MyProject.ProviderTests.VerifyPacts, ignore reason: Interrupted by build execution timeout

Consumer tests work absolutely fine, it's only provider tests that crash.

Steps To Reproduce

Unsure currently - it was working fine before the upgrade

Additional context

The diff between 5.0.0 and 5.0.1 only really has an FFI upgrade in it, so I'm assuming the issue is there and that it's crashing the provider tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIndicates an unexpected problem or unintended behaviortriageThis issue is yet to be triaged by a maintainer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions