Skip to content

Commit

Permalink
rename performance configs and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Wojciech Turowicz committed Dec 1, 2023
1 parent 2a6ff6c commit 4f7f9f9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <copyright file="PersistentGrainTestConfig.cs" company="Surveily Sp. z o.o.">
// <copyright file="GrainsStreamTestConfig.cs" company="Surveily Sp. z o.o.">
// Copyright (c) Surveily Sp. z o.o.. All rights reserved.
// </copyright>

Expand All @@ -13,7 +13,7 @@

namespace Orleans.Streaming.Grains.Performance.Configs
{
public abstract class PersistentGrainTestConfig : ISiloConfigurator, IClientBuilderConfigurator
public abstract class GrainsStreamTestConfig : ISiloConfigurator, IClientBuilderConfigurator
{
public abstract void Configure(IServiceCollection services);

Expand All @@ -35,7 +35,7 @@ public void Configure(IConfiguration configuration, IClientBuilder clientBuilder
}
}

public class PersistentConfig : PersistentGrainTestConfig, IDisposable
public class GrainsStreamConfig : GrainsStreamTestConfig, IDisposable
{
protected Mock<IProcessor> processor = new Mock<IProcessor>();
private bool _isDisposed;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// <copyright file="BasicGrainTestConfig.cs" company="Surveily Sp. z o.o.">
// <copyright file="MemoryStreamTestConfig.cs" company="Surveily Sp. z o.o.">
// Copyright (c) Surveily Sp. z o.o.. All rights reserved.
// </copyright>

Expand All @@ -13,7 +13,7 @@

namespace Orleans.Streaming.Grains.Performance.Configs
{
public abstract class BasicGrainTestConfig : ISiloConfigurator, IClientBuilderConfigurator
public abstract class MemoryStreamTestConfig : ISiloConfigurator, IClientBuilderConfigurator
{
public abstract void Configure(IServiceCollection services);

Expand All @@ -30,7 +30,7 @@ public void Configure(IConfiguration configuration, IClientBuilder clientBuilder
}
}

public class BasicConfig : BasicGrainTestConfig, IDisposable
public class MemoryStreamConfig : MemoryStreamTestConfig, IDisposable
{
protected Mock<IProcessor> processor = new Mock<IProcessor>();
private bool _isDisposed;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,11 @@ private async Task RunAndWait(int counter, Func<Task> operation)
}
}

public class OneToManyBasicTest : BaseOneToManyTest<BasicConfig>
public class OneToManyMemoryStreamTest : BaseOneToManyTest<MemoryStreamConfig>
{
}

public class OneToManyPersistentTest : BaseOneToManyTest<PersistentConfig>
public class OneToManyGrainsStreamTest : BaseOneToManyTest<GrainsStreamConfig>
{
}
}
Expand Down

0 comments on commit 4f7f9f9

Please sign in to comment.