smiklosovic commented on code in PR #4427:
URL: https://github.com/apache/cassandra/pull/4427#discussion_r2474304147
##########
test/unit/org/apache/cassandra/auth/AuthConfigTest.java:
##########
@@ -38,14 +38,27 @@
import static org.apache.cassandra.auth.AuthTestUtils.loadCertificateChain;
import static
org.apache.cassandra.auth.IInternodeAuthenticator.InternodeConnectionDirection.INBOUND;
import static org.apache.cassandra.config.YamlConfigurationLoaderTest.load;
+import static org.assertj.core.api.Assertions.assertThat;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
+/**
+ * Tests instantiation of various authenticators through AuthConfig, and the
accessibility of the configured
+ * authenticators and role manager options through DatabaseDescriptor.
+ */
public class AuthConfigTest
{
- @Rule
- public ExpectedException expectedException = ExpectedException.none();
+ @Before
+ public void setup()
+ {
+ AuthConfig.reset();
+ }
+
+ @After
+ public void teardown() {
Review Comment:
brace on new line please
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]