Skip to content

Commit 1145674

Browse files
committed
Fix a minor test buglet
1 parent b517565 commit 1145674

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authz/accesscontrol/SecurityIndexReaderWrapperIntegrationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ public void testDLS() throws Exception {
151151
if (doc % 11 == 0) {
152152
iw.deleteDocuments(new Term("id", id));
153153
} else {
154-
if (commitAfter % commitAfter == 0) {
154+
if (doc % commitAfter == 0) {
155155
iw.commit();
156156
}
157157
valuesHitCount[valueIndex]++;

0 commit comments

Comments
 (0)