diff --git a/provider/junit/src/main/kotlin/au/com/dius/pact/provider/junit/InteractionRunner.kt b/provider/junit/src/main/kotlin/au/com/dius/pact/provider/junit/InteractionRunner.kt index 5dad6854ef..29f1216c73 100644 --- a/provider/junit/src/main/kotlin/au/com/dius/pact/provider/junit/InteractionRunner.kt +++ b/provider/junit/src/main/kotlin/au/com/dius/pact/provider/junit/InteractionRunner.kt @@ -166,7 +166,9 @@ open class InteractionRunner( if (included) { try { interactionBlock(interaction, pactSource, testContext).evaluate() - notifier.fireTestFinished(description) + if (!pending) { + notifier.fireTestFinished(description) + } } catch (e: Throwable) { if (!pending) { notifier.fireTestFailure(Failure(description, e))