public void When_Net452AndNotWindows_Should_NotThrowException() { Assert.Throws <NotSupportedException>(() => { var provider = new DseGssapiAuthProvider(); }); }
public void Gssapi_Auth_Test() { var provider = new DseGssapiAuthProvider(); using (var cluster = Cluster.Builder() .WithAuthProvider(provider) .WithQueryTimeout(Timeout.Infinite) .WithSocketOptions(new SocketOptions().SetConnectTimeoutMillis(3600000)) .AddContactPoint(CcmHelper.InitialContactPoint) .Build()) { try { cluster.Connect(); } catch (NoHostAvailableException ex) { throw ex.Errors.Values.First(); } } }
public void When_Net452AndWindows_Should_NotThrowException() { var provider = new DseGssapiAuthProvider(); }