From pr-return-384-archive-asf-public=cust-asf.ponee.io@cassandra.apache.org Mon Feb 19 22:16:18 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 0CC4E180607 for ; Mon, 19 Feb 2018 22:16:17 +0100 (CET) Received: (qmail 71743 invoked by uid 500); 19 Feb 2018 21:16:17 -0000 Mailing-List: contact pr-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: pr@cassandra.apache.org Delivered-To: mailing list pr@cassandra.apache.org Received: (qmail 71724 invoked by uid 99); 19 Feb 2018 21:16:16 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Feb 2018 21:16:16 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 3DABEDFBBB; Mon, 19 Feb 2018 21:16:14 +0000 (UTC) From: michaelsembwever To: pr@cassandra.apache.org Reply-To: pr@cassandra.apache.org References: In-Reply-To: Subject: [GitHub] cassandra-dtest pull request #19: New test for CASSANDRA-11381: Node running... Content-Type: text/plain Message-Id: <20180219211615.3DABEDFBBB@git1-us-west.apache.org> Date: Mon, 19 Feb 2018 21:16:14 +0000 (UTC) Github user michaelsembwever commented on a diff in the pull request: https://github.com/apache/cassandra-dtest/pull/19#discussion_r169173002 --- Diff: auth_join_ring_false_test.py --- @@ -0,0 +1,212 @@ +import pytest +import logging + +from cassandra import AuthenticationFailed, Unauthorized +from cassandra.cluster import NoHostAvailable + +from dtest import Tester + + +class TestAuth(Tester): + + + def test_login_existing_node(self): + """ + * Launch a three node cluster + * Restart the third node in `join_ring=false` mode + * Connect as the default user/password + * Verify that default user w/ bad password gives AuthenticationFailed exception + * Verify that bad user gives AuthenticationFailed exception + #""" --- End diff -- oops. fixed. --- --------------------------------------------------------------------- To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org For additional commands, e-mail: pr-help@cassandra.apache.org