From c960c4d1abaf3ea1139da3d06a8afbb6e7e11438 Mon Sep 17 00:00:00 2001 From: Darshit Chanpura Date: Fri, 25 Aug 2023 14:38:48 -0400 Subject: [PATCH] Fixes broken DlsFlsCrossClusterSearchTest Signed-off-by: Darshit Chanpura --- .../security/dlic/dlsfls/DlsFlsCrossClusterSearchTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/opensearch/security/dlic/dlsfls/DlsFlsCrossClusterSearchTest.java b/src/test/java/org/opensearch/security/dlic/dlsfls/DlsFlsCrossClusterSearchTest.java index 6c127978b9..0628bee108 100644 --- a/src/test/java/org/opensearch/security/dlic/dlsfls/DlsFlsCrossClusterSearchTest.java +++ b/src/test/java/org/opensearch/security/dlic/dlsfls/DlsFlsCrossClusterSearchTest.java @@ -164,7 +164,7 @@ public void testCcs() throws Exception { Assert.assertFalse(body.contains("secret1")); Assert.assertFalse(body.contains("AnotherSecredField")); Assert.assertFalse(body.contains("xxx1")); - Assert.assertEquals(ccs.getHeaders().toString(), 3, ccs.getHeaders().size()); + Assert.assertEquals(ccs.getHeaders().toString(), 1, ccs.getHeaders().size()); } @Test