Skip to content

Commit

Permalink
test: use avro latest fork
Browse files Browse the repository at this point in the history
  • Loading branch information
YOU54F authored Aug 22, 2024
1 parent 41e1d38 commit f430c3a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Avro/AvroClient.Tests/AvroClientTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public async Task ReturnsMismatchWhenNoAvroClientRequestMade()
""id"": ""matching(number, 1)"",
""username"": ""notEmpty('matt')""
}}";
Pact.PluginAdd(pact, "avro", "0.0.5");
Pact.PluginAdd(pact, "avro", "0.0.8");
Pact.WithRequest(interaction,"GET", "/avro");
Pact.ResponseStatus(interaction,200);
Pact.PluginInteractionContents(interaction, Pact.InteractionPart.Response, "avro/binary", content);
Expand Down Expand Up @@ -69,7 +69,7 @@ public async Task WritesPactWhenGrpcClientRequestMade()
""id"": ""matching(number, 1)"",
""username"": ""notEmpty('matt')""
}}";
Pact.PluginAdd(pact, "avro", "0.0.5");
Pact.PluginAdd(pact, "avro", "0.0.8");
Pact.WithRequest(interaction,"GET", "/avro");
Pact.ResponseStatus(interaction,200);
Pact.PluginInteractionContents(interaction, Pact.InteractionPart.Response, "avro/binary", content);
Expand Down
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ install_protobuf_plugin:
${HOME}/.pact/cli/plugin/pact-plugin-cli -y install https://github.com/pactflow/pact-protobuf-plugin/releases/latest
install_matt_plugin:
${HOME}/.pact/cli/plugin/pact-plugin-cli$(EXE) -y install https://github.com/mefellows/pact-matt-plugin/releases/latest
install_avro_plugin:
${HOME}/.pact/cli/plugin/pact-plugin-cli$(EXE) -y install https://github.com/you54f/pact-avro-plugin/releases/latest

# Grpc.Tools do not provide precompiled binaries for alpine/musl - https://github.com/grpc/grpc/issues/24188#issuecomment-1403435551
alpine_dotnet:
Expand Down

0 comments on commit f430c3a

Please sign in to comment.