Skip to content
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

Enable Sqlite tests, uncommented snapshot tests in Persistence.Testkit #2724

Merged

Conversation

alexvaluyskiy
Copy link
Contributor

@alexvaluyskiy alexvaluyskiy commented Jun 4, 2017

Partially fixes #2659

@marcpiechura
Copy link
Contributor

@alexvaluyskiy snapshot specs are failing on mono

@@ -14,7 +14,8 @@

namespace Akka.Persistence.TestKit.Tests
{
public class LocalSnapshotStoreSpec : SnapshotStoreSpec
// FIXME
public abstract class LocalSnapshotStoreSpec : SnapshotStoreSpec
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the reason to make it abstract?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To skip only LocalSnapshot spec, not all specs inherited from SnapshotStoreSpec

@marcpiechura
Copy link
Contributor

@alexvaluyskiy now all sqlite specs failed on windows

@Danthar
Copy link
Member

Danthar commented Jun 6, 2017

@alexvaluyskiy @Silv3rcircl3 that might be because the LocalSnapshotStoreSpec was made abstract. XUnit does not like abstract test-specifications.

@alexvaluyskiy alexvaluyskiy force-pushed the coreclr_fix_persistencetests branch from 98b1f14 to fe4cd7f Compare June 6, 2017 11:47
@@ -4,7 +4,7 @@
<PropertyGroup>
<AssemblyTitle>Akka.Persistence.Sqlite.Tests</AssemblyTitle>
<TargetFrameworks>net452;netcoreapp1.1</TargetFrameworks>
<RuntimeIdentifier>win7-x64</RuntimeIdentifier>
<RuntimeIdentifier Condition=" '$(TargetFramework)' == 'net452' And '$(OS)' == 'Windows_NT'">win7-x64</RuntimeIdentifier>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Workaround

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me in the short-run - I @heynickc was mentioning this morning that the runtime might be part of the reason why we're having some trouble with the tests...

@Aaronontheweb Aaronontheweb merged commit 64254ad into akkadotnet:v1.3 Jun 6, 2017
@alexvaluyskiy alexvaluyskiy deleted the coreclr_fix_persistencetests branch June 6, 2017 17:32
Aaronontheweb pushed a commit to Aaronontheweb/akka.net that referenced this pull request Jun 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants