Skip to content

AdaptivePing external-client scenarios cannot resolve IPingGrain #10912

Description

@ReubenBond

AdaptivePing_ClientToOneSilo fails before measurement because the external client cannot resolve an implementation for BenchmarkGrainInterfaces.Ping.IPingGrain.

Reproduces on both:

Command:

& 'test\Benchmarks\bin\Release\net10.0\Benchmarks.exe' AdaptivePing_ClientToOneSilo

Exception:

System.ArgumentException: Could not find an implementation for interface BenchmarkGrainInterfaces.Ping.IPingGrain
   at Orleans.GrainInterfaceTypeToGrainTypeResolver.GetGrainType(...)
   at Orleans.GrainFactory.GetGrain[TGrainInterface](...)
   at Orleans.ClusterClient.GetGrain[TGrainInterface](...)
   at Benchmarks.Ping.AdaptivePingBenchmark..ctor(BenchmarkMode mode, Int32 numSilos)

The hosted-client scenario runs successfully. The external-client benchmark likely needs application-part/interface metadata configuration so the client manifest can resolve IPingGrain.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions