GeezerVison is showing github.com — chore(transactions): avoid wrapper test overlap · ReubenBond/orleans@5bde140
File tree
Expand file treeCollapse file tree
Open diff view settings
test/Transactions/Orleans.Transactions.Tests/Memory
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: test/Transactions/Orleans.Transactions.Tests/Memory/MemoryTransactionsFixture.cs +1-8Lines changed: 1 addition & 8 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | using Microsoft.Extensions.DependencyInjection; |
2 | 2 | using Orleans.Runtime; |
3 | | -using Orleans.Storage; |
4 | 3 | using Orleans.TestingHost; |
5 | 4 | using Orleans.Transactions.TestKit; |
6 | 5 | using TestExtensions; |
@@ -19,13 +18,7 @@ public class SiloBuilderConfigurator : ISiloConfigurator |
19 | 18 | public void Configure(ISiloBuilder hostBuilder) |
20 | 19 | { |
21 | 20 | hostBuilder |
22 | | - .ConfigureServices(services => |
23 | | - { |
24 | | - services.AddKeyedSingleton<IRemoteCommitService, RemoteCommitService>(TransactionTestConstants.RemoteCommitService); |
25 | | - services.AddKeyedSingleton<IGrainStorage>( |
26 | | - TransactionalStateStorageProviderWrapperTestConstants.StorageName, |
27 | | - static (_, _) => new LostResponseGrainStorage()); |
28 | | - }) |
| 21 | + .ConfigureServices(services => services.AddKeyedSingleton<IRemoteCommitService, RemoteCommitService>(TransactionTestConstants.RemoteCommitService)) |
29 | 22 | .AddMemoryGrainStorage(TransactionTestConstants.TransactionStore) |
30 | 23 | .UseTransactions(); |
31 | 24 | } |
|
Collapse file
Copy file name to clipboardExpand all lines: test/Transactions/Orleans.Transactions.Tests/Memory/TransactionalStateStorageProviderWrapperTests.cs -270Lines changed: 0 additions & 270 deletions