Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Made some changes and tweaks to get the project compiling on my machine.

  • Loading branch information...
commit e1691eced07e05b7652ae95a37cf13699ae6a125 1 parent 9ced334
@nathannis nathannis authored
View
2  src/Connections/ConnectionBuilder.cs
@@ -14,7 +14,7 @@ public class ConnectionBuilder : FluentCassandra.Connections.IConnectionBuilder
/// <param name="host"></param>
/// <param name="port"></param>
/// <param name="timeout"></param>
- public ConnectionBuilder(string keyspace, string host, int port = Server.DefaultPort, int connectionTimeout = Server.DefaultTimeout, bool pooling = false, int minPoolSize = 0, int maxPoolSize = 100, int maxRetries = 0, int serverPollingInterval = 30, int connectionLifetime = 0, ConnectionType connectionType = ConnectionType.Framed, int bufferSize = 1024, ConsistencyLevel read = ConsistencyLevel.QUORUM, ConsistencyLevel write = ConsistencyLevel.QUORUM, string cqlVersion = FluentCassandra.Connections.CqlVersion.ServerDefault, bool compressCqlQueries = true, string username = null, string password = null)
+ public ConnectionBuilder(string keyspace, string host, int port = Server.DefaultPort, int connectionTimeout = Server.DefaultTimeout, bool pooling = false, int minPoolSize = 0, int maxPoolSize = 100, int maxRetries = 0, int serverPollingInterval = 30, int connectionLifetime = 0, ConnectionType connectionType = ConnectionType.Framed, int bufferSize = 1024, ConsistencyLevel read = ConsistencyLevel.QUORUM, ConsistencyLevel write = ConsistencyLevel.QUORUM, string cqlVersion = FluentCassandra.Connections.CqlVersion.ConnectionDefault , bool compressCqlQueries = true, string username = null, string password = null)
{
Keyspace = keyspace;
Servers = new List<Server>() { new Server(host, port) };
View
6 src/FluentCassandra.csproj
@@ -39,11 +39,10 @@
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup>
- <SignAssembly>false</SignAssembly>
+ <SignAssembly>true</SignAssembly>
</PropertyGroup>
<PropertyGroup>
- <AssemblyOriginatorKeyFile>
- </AssemblyOriginatorKeyFile>
+ <AssemblyOriginatorKeyFile>fluentCassandra-me.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
@@ -312,6 +311,7 @@
<Compile Include="Types\VoidType.cs" />
</ItemGroup>
<ItemGroup>
+ <None Include="fluentCassandra-me.snk" />
<None Include="FluentCassandra.nuspec">
<SubType>Designer</SubType>
</None>
View
4 test/FluentCassandra.StressTest/Main.cs
@@ -5,14 +5,14 @@
namespace FluentCassandra.StressTest
{
- class Program
+ class Program1
{
static void Main(string[] args)
{
Console.Error.WriteLine("Stress Test 1");
try
{
- StressTest.StressTest1.Test();
+ //tressTest1.Test();
}
catch (Exception ex)
{
View
2  test/FluentCassandra.StressTest/StressTest1.cs
@@ -4,7 +4,7 @@
using System.Threading.Tasks;
using FluentCassandra.Types;
using FluentCassandra.Connections;
-using Apache.Cassandra;
+using FluentCassandra.Apache.Cassandra;
namespace FluentCassandra.StressTest
{
View
2  test/FluentCassandra.Tests/app.config
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
- <add key="TestServer" value="localhost"></add>
+ <add key="TestServer" value="dev-Cassandra"></add>
<add key="TestPort" value="9160"></add>
<add key="TestKeySpace" value="Testing"></add>
</appSettings>
Please sign in to comment.
Something went wrong with that request. Please try again.