-
Notifications
You must be signed in to change notification settings - Fork 52
PNCounter #218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PNCounter #218
Conversation
Linux Net Core Tests PASSed. |
Hazelcast.Test/Hazelcast.Client.Test/ClientPNCounterConsistencyLossTest.cs
Outdated
Show resolved
Hide resolved
Hazelcast.Test/Hazelcast.Client.Test/ClientPNCounterConsistencyLossTest.cs
Show resolved
Hide resolved
Windows Net Core Tests PASSed. |
namespace Hazelcast.Client.Test | ||
{ | ||
[TestFixture] | ||
public class ClientPNCounterTest : MultiMemberBaseTest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need a clean up here :
[TestFixture]
public class ClientPNCounterTest : SingleMemberBaseTest
{
private ClientPNCounterProxy _pnCounter;
[SetUp]
public void Setup()
{
_pnCounter = Client.GetPNCounter(TestSupport.RandomString()) as ClientPNCounterProxy;
}
[TearDown]
public void TearDown()
{
}
[Test]
public void Reset_Succeeded()
{
_pnCounter.Reset();
}
...
We still need this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
Windows .Net Framework Tests PASSed. |
Linux Net Core Tests PASSed. |
Windows .Net Framework Tests PASSed. |
Windows Net Core Tests PASSed. |
|
||
namespace Hazelcast.Client.Test | ||
{ | ||
public class VectorClockTest : SingleMemberBaseTest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing [TestFixture]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
} | ||
|
||
[TearDown] | ||
public static void Destroy() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
older Nunit(pre 2.5) mandate static tear-down method but it's not required anymore. Non-static one would be better in new implementations
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
public class VectorClockTest : SingleMemberBaseTest | ||
{ | ||
internal static VectorClock _inst; | ||
internal const string name = "ClientPNCounterTest"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dead code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
{ | ||
public class VectorClockTest : SingleMemberBaseTest | ||
{ | ||
internal static VectorClock _inst; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can be private non-static with Teardown method change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
Hazelcast.Test/Hazelcast.Test.csproj
Outdated
<ItemGroup> | ||
<EmbeddedResource Include="Resources\*" /> | ||
</ItemGroup> | ||
<ItemGroup> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't need these as above <EmbeddedResource Include="Resources\*" />
adds everthing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
Linux Net Core Tests PASSed. |
Windows .Net Framework Tests PASSed. |
Linux Net Core Tests PASSed. |
Windows Net Core Tests PASSed. |
Linux Net Core Tests PASSed. |
Windows .Net Framework Tests PASSed. |
Windows .Net Framework Tests PASSed. |
Windows Net Core Tests PASSed. |
Linux Net Core Tests PASSed. |
Windows .Net Framework Tests PASSed. |
Windows Net Core Tests PASSed. |
Linux Net Core Tests PASSed. |
Windows .Net Framework Tests PASSed. |
Windows Net Core Tests PASSed. |
Linux Net Core Tests PASSed. |
Windows .Net Framework Tests FAILed. |
Windows Net Core Tests PASSed. |
Test failed on timeout. The test run from Visual Studio passed conditions without any problems |
verify |
Linux Net Core Tests PASSed. |
Windows Net Core Tests PASSed. |
Windows .Net Framework Tests PASSed. |
Linux Net Core Tests PASSed. |
Windows Net Core Tests PASSed. |
Windows .Net Framework Tests PASSed. |
PNCounter