https://pact.io logo
#pact-go
Title
# pact-go
m

Matt (pactflow.io / pact-js / pact-go)

04/06/2022, 12:00 PM
What happens if you run
pact-mock-service version
in the same terminal you're running the tests?
a

Ancy Aziz

04/06/2022, 1:38 PM
3.9.0
m

Matt (pactflow.io / pact-js / pact-go)

04/07/2022, 1:15 AM
strange
are you positive the go tests are running in the same shell configuration?
You might get more insight with DEBUG level logging
thank you 1
a

Ancy Aziz

04/07/2022, 9:01 AM
I was running the tests from zsh terminal, pact-mock-service version command was not recognized there. I tried the command in bash terminal and the tests also run without error there. The tests used to run in both zsh and bash terminals before, now only running in bash.
m

Matt (pactflow.io / pact-js / pact-go)

04/07/2022, 9:09 AM
that tells me there is a configuration issue in zsh (i use ZSH fwiw)
iā€™m guessing you added an export to your bash profile, but not your zsh one
a

Ancy Aziz

04/07/2022, 9:11 AM
yes, that must be correct
let me try to add my export to zsh profile file and try again
šŸ‘ 1
thank you so much!!
šŸ‘ 1