Skip to content

Commit f9db92c

Browse files
committed
Upgrade to Orleans 3.0.2
1 parent e114ad7 commit f9db92c

File tree

5 files changed

+11
-15
lines changed

5 files changed

+11
-15
lines changed

Directory.Build.props

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@
4545
<PropertyGroup>
4646

4747
<!-- Orleans packages -->
48-
<MicrosoftOrleansClientVersion>2.4.4</MicrosoftOrleansClientVersion>
49-
<MicrosoftOrleansServerVersion>2.4.4</MicrosoftOrleansServerVersion>
50-
<MicrosoftOrleansCodeGeneratorVersion>2.4.4</MicrosoftOrleansCodeGeneratorVersion>
51-
<MicrosoftOrleansRuntimeVersion>2.4.4</MicrosoftOrleansRuntimeVersion>
52-
<MicrosoftOrleansStreamingAzureStorageVersion>2.4.4</MicrosoftOrleansStreamingAzureStorageVersion>
48+
<MicrosoftOrleansClientVersion>3.0.2</MicrosoftOrleansClientVersion>
49+
<MicrosoftOrleansServerVersion>3.0.2</MicrosoftOrleansServerVersion>
50+
<MicrosoftOrleansCodeGeneratorVersion>3.0.2</MicrosoftOrleansCodeGeneratorVersion>
51+
<MicrosoftOrleansRuntimeVersion>3.0.2</MicrosoftOrleansRuntimeVersion>
52+
<MicrosoftOrleansStreamingAzureStorageVersion>3.0.2</MicrosoftOrleansStreamingAzureStorageVersion>
5353

5454
<!-- Microsoft extensions -->
5555
<MicrosoftExtensionsLoggingVersion>2.1.1</MicrosoftExtensionsLoggingVersion>

Source/Orleans.Internals/Orleans.Internals.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Project Sdk="Microsoft.NET.Sdk">
33

44
<PropertyGroup>
5-
<AssemblyName>OrleansManager</AssemblyName>
5+
<AssemblyName>TesterInternal</AssemblyName>
66
<PackageId>Orleankka.Runtime.Legacy.Support</PackageId>
77
<Title>Supporting package for Orleankka.Runtime.Legacy</Title>
88
<Description>Do not reference this package directly, instead reference Orleankka.Runtime.Legacy</Description>

Tests/Orleankka.Tests/Features/Reminders_idempotency.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ static async Task CleanRemindersTable()
8989
{
9090
var getGrainGeneric = typeof(IGrainFactory).GetMethod("GetGrain", new[]{typeof(long), typeof(string)});
9191
var getGrain = getGrainGeneric.MakeGenericMethod(typeof(IReminderTable).Assembly.GetType("Orleans.IReminderTableGrain"));
92-
var grain = (IReminderTable)getGrain.Invoke(TestActorSystem.Client, new object[]{12345, null});
93-
await grain.TestOnlyClearTable();
92+
var grain = getGrain.Invoke(TestActorSystem.Client, new object[]{12345, null});
93+
await (Task) grain.GetType().GetMethod("TestOnlyClearTable").Invoke(grain, new object[0]);
9494
}
9595
}
9696
}

Tests/Orleankka.Tests/Features/Stream_subscriptions.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ public override async Task<object> Receive(object message)
6060
}
6161

6262
[TestFixture]
63+
[RequiresSilo]
6364
class Tests
6465
{
6566
static readonly TimeSpan timeout = TimeSpan.FromMilliseconds(100);

Tests/Orleankka.Tests/Testing/TestActions.cs

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22
using System.Collections.Generic;
33
using System.Linq;
44
using System.Net;
5-
5+
using Microsoft.Azure.Storage;
66
using Microsoft.Extensions.DependencyInjection;
7-
using Microsoft.WindowsAzure.Storage;
87

98
using NUnit.Framework;
109
using NUnit.Framework.Interfaces;
@@ -19,9 +18,6 @@
1918
using Orleankka.Features.Intercepting_requests;
2019
using Orleankka.Legacy.Cluster;
2120

22-
using Orleans.Providers.Streams.AzureQueue;
23-
using Orleans.Streaming;
24-
2521
[assembly: TeardownSilo]
2622

2723
namespace Orleankka.Testing
@@ -63,9 +59,8 @@ public override void BeforeTest(ITest test)
6359
.AddMemoryGrainStorageAsDefault()
6460
.AddMemoryGrainStorage("PubSubStore")
6561
.UseInMemoryReminderService()
66-
.AddAzureQueueStreams("aqp", (SiloAzureQueueStreamConfigurator<AzureQueueDataAdapterV2> x) =>
62+
.AddAzureQueueStreams("aqp", x =>
6763
{
68-
x.ConfigureCache(1024);
6964
x.ConfigureAzureQueue(b => b.Configure(options =>
7065
{
7166
options.ConnectionString = CloudStorageAccount.DevelopmentStorageAccount.ToString();

0 commit comments

Comments
 (0)