Skip to content

Commit 56c761f

Browse files
committed
Log roles.yml changes in TokenAuthIntegTests
This test recently failed and it appears that the cause was that roles.yml was deleted while the cluster was still running. This turns on logging for the FileRolesStore so that changes to file based roles can traced more easily. Original commit: elastic/x-pack-elasticsearch@fbce5a8
1 parent c4582cd commit 56c761f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/TokenAuthIntegTests.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
import static org.elasticsearch.test.hamcrest.ElasticsearchAssertions.assertNoTimeout;
4747
import static org.hamcrest.Matchers.equalTo;
4848

49+
@TestLogging("org.elasticsearch.xpack.security.authz.store.FileRolesStore:DEBUG")
4950
public class TokenAuthIntegTests extends SecurityIntegTestCase {
5051

5152
@Override

0 commit comments

Comments
 (0)