Use host setting for Orleans E2E
CI / test (push) Has been cancelled
Details
CI / test (push) Has been cancelled
Details
This commit is contained in:
parent
0b662d3413
commit
5dfa5fc419
|
|
@ -53,11 +53,7 @@ public class OrleansServerE2ETests
|
||||||
|
|
||||||
private static WebApplicationFactory<Program> NewFactory() =>
|
private static WebApplicationFactory<Program> NewFactory() =>
|
||||||
new WebApplicationFactory<Program>().WithWebHostBuilder(builder =>
|
new WebApplicationFactory<Program>().WithWebHostBuilder(builder =>
|
||||||
builder.ConfigureHostConfiguration(config =>
|
builder.UseSetting("Orleans:Enabled", "true"));
|
||||||
config.AddInMemoryCollection(new Dictionary<string, string?>
|
|
||||||
{
|
|
||||||
["Orleans:Enabled"] = "true",
|
|
||||||
})));
|
|
||||||
|
|
||||||
private static async Task<QueueAccepted> EnqueueAsync(
|
private static async Task<QueueAccepted> EnqueueAsync(
|
||||||
HttpClient http,
|
HttpClient http,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue