public void BasicActivation_TestRequestContext() { ITestGrain g1 = GrainClient.GrainFactory.GetGrain <ITestGrain>(GetRandomGrainId()); Task <Tuple <string, string> > promise1 = g1.TestRequestContext(); Tuple <string, string> requstContext = promise1.Result; logger.Info("Request Context is: " + requstContext); Assert.NotNull(requstContext.Item2); Assert.NotNull(requstContext.Item1); }
public void BasicActivation_TestRequestContext() { ITestGrain g1 = this.GrainFactory.GetGrain <ITestGrain>(GetRandomGrainId()); Task <Tuple <string, string> > promise1 = g1.TestRequestContext(); Tuple <string, string> requestContext = promise1.Result; this.Logger.LogInformation("Request Context is: {RequestContext}", requestContext); Assert.NotNull(requestContext.Item2); Assert.NotNull(requestContext.Item1); }