Skip to content

.WithMappings to mount volume is not working for GRPC #1274

@GomesNayagam

Description

@GomesNayagam

Hi @StefH

            var wireMockContainer = new WireMockContainerBuilder()
                .WithAutoRemove(true)
                .WithCleanUp(true)
                .WithCommand("--UseHttp2")
                .AddUrl("grpc://*:9090")
                .AddUrl("http://*:8080")
                .AddProtoDefinition("my-greeter", protoDefinition)
                .WithMappings(TestHelper.GetAbsolutePath(@"mocks\greet"))
                //.WithWatchStaticMappings(true)
                //.WithBindMount(TestHelper.GetAbsolutePath(@"mocks\greet"), "/home/wiremock")
                .Build();

i have the json files under the path and it is not working. it works with

.WithWatchStaticMappings(true) with CopyAsync

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions